Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Sets #4

Open
andrewfairlie opened this issue Apr 11, 2018 · 1 comment
Open

Permission Sets #4

andrewfairlie opened this issue Apr 11, 2018 · 1 comment

Comments

@andrewfairlie
Copy link

andrewfairlie commented Apr 11, 2018

It would be great if we could add 'permission sets' on the fly, which may aid with GDPR legislation with the opt-in and privacy by design aspects of it.

For example, if the user has said that tracking cookies are okay, it would be great if we could go.

{% if craft.cookies.permission('tracking') %}
   {!-- Facebook pixel code here --}
{% endif %}
@khalwat
Copy link
Contributor

khalwat commented Jul 22, 2018

hmmmm. How would you envision these being handle? I'd assume you'd need to store the preferences on a per-use basis somewhere?

I'm not sure if it makes sense to have something like this baked in, but maybe it does -- can you outline how you think it'd work?

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

No branches or pull requests

2 participants