- Issue created by @jurgenhaas
- Merge request !191Draft: Resolve #3483394 "Privacy advanced recipe" β (Open) created by jurgenhaas
- π©πͺGermany jurgenhaas Gottmadingen
This MR is now available for testing by the privacy track team. It only configures the data protection framework in a very basic way.
What it does so far:
- A new tab "All your data" is shown in the user profile where users can request a data export or data removal.
- A task management is available for admins at
/admin/config/gdpr/tasks
where they can work on those requests. Note: the cron needs to run several times during that process - The SQL Dump is being configured to anonymize some data
- For the reports, removal and SQL dump only these 4 fields in the users_field_data if being anonymized: name, mail, password and initial email.
This is working fine and if we want to go ahead with this, we can then discuss which other fields needed to be included into the list of sensitive data.
A downside that comes with this setup: the GDPR config section at
/admin/config/gdpr
comes with 3 items that we don't need/want but that can't be disabled. Those are: Checklist, Summary, Content LinksAnother issue may be the name GDPR, as it is misleading for most users, in fact, all users outside the EU.
Still, let's give this a try and then discuss how we want to proceed.
- πΊπΈUnited States phenaproxima Massachusetts
Honestly? Can't see a problem here so far. Just had one question.
- πΊπΈUnited States phenaproxima Massachusetts
One small change requested. The MR is still in draft, though; should that be changed? There also seem to be merge conflicts against 0.x that need to be resolved.
- π©πͺGermany jurgenhaas Gottmadingen
@phenaproxima I've provided some more explanation in the thread to the MR.
- π¨πSwitzerland boromino
Although I have rebased the advanced privacy branch upon the latest 0.x branch, the recipe did not apply automatically when running ddev drush si --yes. After
ddev composer require drupal/gdpr
,ddev recipe-apply recipes/drupal_cms_privacy_advanced
andddev drush cr
I was able to find all the above mentioned functionality.- The recipe sets the export directory to private://forget. However, the private path is not set, which leads to the following error:
file_exists(): Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? GdprTasksSarWorker.php:223
[notice] The data could not be saved because the destination private://gdpr-exports/9230fad6-f1ef-4f92-ac86-bad2b04a7496.zip is invalid. This may be caused by improper use of file_save_data() or a missing stream wrapper.After setting the private file path in settings.php manually, the data export works.
- The password hash is exported along with the user data. I'm not sure if that is a good and necessary thing.
- It is possible to request and process the removal of user 1 data. This should probably be made impossible.
- In Content links config the link to the Privacy policy page from privacy basic recipe could be set by default.
I think the GDPR module is suitable with a few modifications.
- The recipe sets the export directory to private://forget. However, the private path is not set, which leads to the following error: