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

Management commands for cleaning out withdrawn consent #18

Open
benjaoming opened this issue Mar 16, 2021 · 0 comments
Open

Management commands for cleaning out withdrawn consent #18

benjaoming opened this issue Mar 16, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@benjaoming
Copy link
Contributor

Description

We have not implemented any management commands for cleansing expired consent.

This could be invoked daily as:

python manage.py consent_cleanup

After running the command, we should not find any unnecessary data stored about a user who has withdrawn all their consent. For instance their name and email.

Depending on interpretation, it may be important to avoid deleting all opt-out data, as users may have given their strict NEGATIVE consent for being contact, i.e. setting the is_everything=True flag. In this case, we may retain a unique hash of the user's email. This design may be overturned if we find a better pattern for it.

The design and implementation of a consent_cleanup command remains open: Exactly what does it do, and how do we know which data to anonymize.

  • Should there be a basic consent object for "handle my user account", which will automatically expire when there are no other active consents?
  • How often should the command run (perhaps this is regulated by GDPR)
  • Should this command be configurable, for instance in case a consent is related to storing of other data?
@benjaoming benjaoming added enhancement New feature or request question Further information is requested labels Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant