Anonymize on unsub / opt out when revoked consent was the only basis for processing
Created by: ian-kelling
A typical scenario is to have a mailing list sign up, which creates a civicrm contact. Then the contact unsubs or opts out from that list. If that is the only interaction we've had with the contact, and that mailing list subscription was based on consent, GDPR says we should not be continuing to store their personally identifiable information, but civi keeps it.
It would be nice to have a cronjob that looks for all the contacts that have unsubbed and figures out that we don't have their info for other reasons and then deletes or anonymizes their identifiable data.
I'm going to investigate implementing this in the next week or two. Please leave any feedback or suggestions.