Add functions to get a list of publisher restrictions for purpose + check if vendor has consent or LI for a list of purposes

This commit is contained in:
Thomas LAY
2020-04-08 18:10:37 +02:00
parent f441b7aabe
commit cf02b3ef5c
3 changed files with 91 additions and 0 deletions
+3
View File
@@ -141,6 +141,9 @@ To verify that a legal basis is established for a purpose or a vendor, use the f
| IsPurposeLIAllowed | int | Returns `true` if legitimate interest is established for purpose id and user didn't exercise their right to object |
| IsVendorAllowed | int | Returns `true` if user has given consent to vendor id processing their personal data |
| IsVendorLIAllowed | int | Returns `true` if transparency for vendor id's legitimate interest is established and user didn't exercise their right to object |
| IsVendorAllowedForPurposes | (int, ...int) | Returns `true` if user has given consent to vendor id processing all purposes ids and publisher hasn't set restrictions for them |
| IsVendorAllowedForPurposesLI | (int, ...int) | Returns `true` if transparency for vendor id's legitimate interest is established for all purpose ids and publisher hasn't set restrictions for them |
| GetPubRestrictionsForPurpose | int | Returns a list of publisher restrictions applied to purpose id |
NOTE: For convenience the `CoreString` functions are also available from the `TCData` structure.