The right to erasure
This page is for data protection officers and administrators. Public bodies often have grounds to keep data (a legal obligation, a public task, archiving); erasure requests need a legal assessment first. When data must go, Exponential erases some of it automatically and leaves the rest to separate tools (Privacy standards: GDPR).
Note This page describes features and common practice; it is not legal advice. Check the law that applies to your organization with your legal counsel.
Contents
- What removing an account does
- Erasing mail data without an account
- What you remove by hand
- What is kept, and why
- Steps
- Related pages
What removing an account does
- Removing a user account is final: a user object never goes to the trash (
eZContentObjectTreeNode::isNodeTrashAllowed()), and it is done one account at a time with the node's own Remove (Check user accounts). eZUser::removeUser()callsexpMailPreferences::eraseForRemovedAccount()(kernel/classes/datatypes/ezuser/ezuser.php): mail preferences and pending confirmations are removed and the consent log is anonymized. (An older sentence in the administrator's guide says this does not happen yet; the code does it.)- The newsletter extension (cjw_newsletter 4.2) hooks into the erasure: an erased person's newsletter user, interests, SMS data and per-person statistics go (cjw_newsletter).
Erasing mail data without an account
For an address without an account (a newsletter subscriber):
./console exp:mail:preferences erase --email=<address> --yes --allow-root-userIt answers with the number of preferences and confirmations removed and consent log rows anonymized. The anonymized
rows keep time, category and change, without address, IP or user, so you can still prove that mail stopped. Without
--yes the command refuses. If the person must never be written to again, add the address to the suppression list
with reason legal (only a hash is stored).
What you remove by hand
| Data | Tool |
|---|---|
| Form submissions | Setup > Collected information: open the form, tick the person's collections, remove |
| Content the person appears in | editors; then empty the trash for those items, and remove old versions if needed |
| Search phrases containing the name | Setup > Search statistics, Reset statistics |
| Shop orders | the shop tools, subject to accounting retention |
| Exports made earlier | delete the files |
What is kept, and why
- Audit records are kept for their retention period: deleting one would break the hash chain. The audit guide refers to art. 17(3)(b) and (e); answer with the retention period and the pseudonymization already applied (Audit guide 4.12).
- Logs age out with their retention (see "Log retention").
- Backups age out with your backup rotation; most organizations do not edit backups but make sure a restore does not bring erased data back into use.
Steps
- Assess the request (grounds to keep?).
- Export what the person may want first, if they asked for it.
- Remove form submissions and content mentions.
- Remove the account (node, Remove) or, if the account must be retired but its history kept, see "Restriction and Deactivate and move".
- Erase mail data for addresses without an account; add a legal suppression entry if asked.
- Record what you did, with dates, and answer the person, mentioning what is kept and until when.
Related pages
- Mail preferences for administrators: Requests
- Restriction and Deactivate and move
- The suppression list
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.