Skip to content

Commit de4084f

Browse files
sunnywucursoragent
andcommitted
Remove SF1 (precise geolocation) consent validation for EUID
The Special Feature 1 validation was a legacy requirement from LiveRamp that is no longer needed. This change allows EUID token generation for users who have the required TCF purpose consents but don't have SF1 (precise geolocation) enabled. Resolves: UID2-6532 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6b0e8be commit de4084f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.uid2.operator.privacy.tcf.TransparentConsent;
1313
import com.uid2.operator.privacy.tcf.TransparentConsentParseResult;
1414
import com.uid2.operator.privacy.tcf.TransparentConsentPurpose;
15-
import com.uid2.operator.privacy.tcf.TransparentConsentSpecialFeature;
1615
import com.uid2.operator.service.*;
1716
import com.uid2.operator.store.*;
1817
import com.uid2.operator.store.IConfigStore;
@@ -1632,9 +1631,7 @@ private UserConsentStatus validateUserConsent(JsonObject req, String apiContact)
16321631
TransparentConsentPurpose.MEASURE_AD_PERFORMANCE, // 7
16331632
TransparentConsentPurpose.DEVELOP_AND_IMPROVE_PRODUCTS // 10
16341633
);
1635-
final boolean allowPreciseGeo = tcResult.getTCString().hasSpecialFeature(TransparentConsentSpecialFeature.PreciseGeolocationData);
1636-
1637-
if (!userConsent || !allowPreciseGeo) {
1634+
if (!userConsent) {
16381635
return UserConsentStatus.INSUFFICIENT;
16391636
}
16401637
}

0 commit comments

Comments
 (0)