Skip to content

FIX: Support passing consent state as string as well as Boolean#25

Open
sahava wants to merge 2 commits intofacebook:mainfrom
sahava:master
Open

FIX: Support passing consent state as string as well as Boolean#25
sahava wants to merge 2 commits intofacebook:mainfrom
sahava:master

Conversation

@sahava
Copy link
Contributor

@sahava sahava commented Oct 6, 2021

Currently the consent local variable is sourced to revoke only when data.consent resolves to false. This makes it difficult to use e.g. RegEx Table or Lookup Table variables, as they always return a string.

Fix by supporting also string value for "false" to revoke consent. All other values grant it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants