TCF Publisher Restriction support#6102
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
eastandwestwind
left a comment
There was a problem hiding this comment.
Looks good! Just 1 clarifying question for you @gilluminate , non-blocking
| // not support ranges. We must add each vendor id as a separate publisher restriction because | ||
| // that's what the TCModel we're using for our encoding supports. | ||
| // See https://github.com/InteractiveAdvertisingBureau/iabtcf-es/tree/master/modules/core#setting-publisher-restrictions | ||
| // for more information about the loop below. |
There was a problem hiding this comment.
Nice code comment, thanks!
| tcModel.publisherRestrictions.add(+id, purposeRestriction); | ||
| }); | ||
| if (!experience.tcf_publisher_restrictions?.length) { | ||
| // Legacy: look up each vendor in the GVL vendors list to see if they have a purpose list. |
There was a problem hiding this comment.
Can you tell me more about when we're expecting experiences to have tcf_publisher_restrictions defined? Is this going to be a migration or does this require manual Admin-UI work to populate this field?
There was a problem hiding this comment.
This requires manual Admin-UI work. There needs to be a configuration added to the TCF experience and the only way to create a configuration if they have legacy in place, is to first remove the legacy. I have a loom I can send you explaining that process.
There was a problem hiding this comment.
Oh yes! If you could send the loom, that would be great, especially as I do testing tomorrow
b78da95 to
bde0722
Compare
fides
|
||||||||||||||||||||||||||||
| Project |
fides
|
| Branch Review |
main
|
| Run status |
|
| Run duration | 00m 56s |
| Commit |
|
| Committer | Jason Gill |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
5
|
| View all changes introduced in this branch ↗︎ | |
Closes LJ-624
Description Of Changes
Adds support for TCF publisher restrictions when creating the TCF String
Code Changes
tcf_publisher_restrictionsto PrivacyExperience and PrivacyExperienceMinimal typesexperiencestate variable toexperienceFullthroughout TcfOverlay.tsx for clarity (I was getting confused reading through that file)Steps to Confirm
Testing currently requires using branch
LJ-625-add-tcf-publisher-restrictions-subqueryto run your fidesplus backend./fides-js-demo.html?geolocation=eea)Steps to setting up a publisher restriction configuration
/settings/consent)Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works