SHADE is young: 0.1.0-next.2 is a pre-release, and 0.1.0 isn't out yet.

SHADE
People, security and privacy

Personal data per person

When someone asks what the site keeps about them, or asks for it to be deleted (GDPR articles 15 and 17), an admin looks them up by email address on Personal data. They can see what each part of SHADE and its modules keeps, download it all as a JSON file, and delete what the law allows.

What a user can do

  • Admins: look up an email address (case doesn't matter), see the number of records per kind, download them as JSON, and delete everything that may be deleted in one go (after a confirmation).
  • Admins, for a visitor without an account: find the consent receipts of their choices by the reference they read in the site's consent banner, and delete them when asked. Read every version the banner has had.
  • Visitors with an account: download their own data on the site's account page (Download my data), the same file an admin would make for their address.
  • Editors don't see the screen. An editor's own account and what they did are found and listed, but kept: an admin deletes the account on the Users screen, which makes sure an admin remains.
ActionPermissionRoles
Look up, downloadsettings.updateadmin
Deletesettings.updateadmin
Download one's own dataa signed-in user account with a confirmed addressusers

Screens

Personal data (in the settings area's Records and safety group): an intro, an Email address field and Look up. With results, a card with the address, one line per kind ("Form submissions: 2"), the reason for kinds that are kept, and the buttons Download (JSON) and Delete everything that may go. The confirmation says what goes and that orders stay. Nothing found: "Nothing is kept about …". The download is saved as personal-data-<address>.json.

Below it, Consent receipts: a Reference of the choice field and Look up. Each receipt found shows when it was made and each category with allowed or refused, with Delete these receipts (after a confirmation). Nothing found: "No receipts with this reference." Then Consent banner versions: each version with when it was live ("Live since …", "Live from … to …"), its categories, and What it said with everything it showed. See Consent banner for when receipts are kept.

People

People (the sidebar's Contacts, under Customers) lists everyone the modules met by email address, such as customers and people who booked, with or without an account: the address, whether it is confirmed, whether it belongs to an account and since when. Search by part of the address. Open someone to see the language they last used and, below it, a panel per module with what that module keeps about them (their orders, their appointments), each shown only to who may read that module's data. Admins only (private.read).

A contact is confirmed when the person proves the address: by following a link a module sent them (an appointment's confirmation link, a mailing list's confirmation) or by signing in. Only signing in with a confirmed address links a contact to an account, so someone who types another person's address never sees that person's orders or appointments.

What is covered

KindKeyMatched onOn delete
What modules keep for their account (kv)plugin-kvthe accounts with the addressdeleted (also with the account)
Roles on the website (from modules)account-rolesthe account's addressdeleted (also with the account)
Website accountaccount-accountthe account's addressdeleted, with its sessions
Emails sent to thememail-logthe log's recipientsdeleted
A blocked email addressemail-suppressionsthe addressdeleted: mail may reach the address again; after a spam complaint their objection to list mail is kept (see below)
Mailing lists they joined, with the proof of consentmailing-liststhe person's contactsdeleted (before the contacts); if they had unsubscribed or complained, their objection is kept as a keyed hash of the address only (see below)
Notifications to them (reminders)notificationsthe notification's recipientdeleted
How they chose to be notified (their notification methods)notification-methodsthe accounts with the addressdeleted (also with the account)
Consent receipts of their accountconsent-receiptsthe accounts with the addressdeleted (also with the account); a visitor without an account's receipts are found by their reference instead
Webhook events that named themwebhook-deliveriesthe address anywhere in the event's datadeleted
Channel messages that named themchannel-deliveriesthe address anywhere in the messagedeleted
Events that named them (SHADE's and the modules', such as a paid order)eventsthe address anywhere in the event's datadeleted
Form submissionsforms.submissionsthe person's contacts (the field with purpose email; Forms, a module)deleted
Appointmentsappointments.appointmentsthe booking's contactdeleted; upcoming ones free their time
Orderscommerce.ordersthe customer's contactpaid orders kept: bookkeeping records, seven years by default (the Dutch term) (then deleted by retention); orders never paid are deleted, one still waiting for its payment stays until it lapses
Fiscal records: invoices and credit invoices issued to themfiscal-recordsthe person's contactskept by law, each until the date it shows (seven years from the end of the year it was issued, the Dutch term and the default for Dutch setups; then deleted by retention)
Terms they accepted (a shop's terms at checkout, a booking's consent)terms-acceptancesthe person's contactskept as proof of the contract or consent: the text, its version and when (deleted by retention after its period)
Contacts: their address as the modules know itcontactsthe address, and the contacts linked to the accounts with itdeleted after everything that refers to it; kept while records the law keeps (paid orders, fiscal records, accepted terms) still refer to it
Admin accounteditor-accountthe user's addresskept: removed under Users
Audit log: what they did in SHADEaudit-logentries by their account, and failed sign-ins with the addresskept: the record of who changed what, for its period (retention); a removed account's entries keep the name only
Error logerror-lognothing: it holds no personal datakept: no bodies, headers, cookies, addresses or query strings are stored, and email addresses are taken out of messages (Errors and security alerts)
Security records: refused actions and alertssecurity-recordsan editor's refused actions per hour, alerts that name the editorkept: security records, for the error log's period (retention)
What the client's programs keep (through their host)programsthe address, or the ids of the accounts with it, as each program keeps themdeleted by each program; also when the account is deleted, once the host can be reached (Programs)
Backups of uninstalled modulesplugin-backupsthe address anywhere in the backupkept whole: a backup holds other people's data too and is not edited; it goes 90 days after the uninstall (retention)

Where a row says "the address anywhere", the address counts only when it stands as a whole address, in any text or key of the data: Ann <ann@shop.nl> and a sentence ending in ann@shop.nl. find ann@shop.nl, while joann@shop.nl and ann@shop.nl.example.org are other addresses and stay. Case does not matter.

A form can send the sender a confirmation email, with a copy of what they sent, to the address they typed (Forms). The forms module's bot protection keeps only the random salt of each answered challenge, until it runs out (30 minutes); it holds no personal data.

AI assistants over MCP do not see what visitors sent through forms: the forms module's tools show only which fields were filled in, unless an admin switches on Let AI tools read what visitors send. Each read that includes answers is in the audit log (Forms).

Module kinds apply also while the module is switched off. What modules keep for a user's account (their kv keys, for example a cart) is found through the accounts with the address, deleted first when the person asks, and deleted with the account when an admin or the user deletes it.

An unsubscribe outlives the erasure

Someone who left a mailing list objected to marketing mail, and the GDPR (Art. 21(3)) says that objection must be honoured. Deleting their data would delete the record that they left, and an import from another tool could then put them back on a list. So when a person who had unsubscribed from a list, or complained about mail as spam, is erased, SHADE keeps one thing: a keyed hash of their address (HMAC-SHA256), with when. No readable address, no list and no module.

  • Every list mail and every import checks it, on every module's lists. An import skips the address and counts it as objected; a list mail is not sent.
  • It goes only when the person signs up again and confirms it themselves: that is new consent.
  • The key is made from APP_SECRET the first time and stored sealed, like the providers' secrets, so rotating APP_SECRET seals it again and the hashes keep working. Without the key the hash cannot be turned back into the address, and nobody can test addresses against it.
  • Looking the person up afterwards shows that an objection is kept, never the hash; the erase's result counts it as kept.
  • The Email screen's Lists tab shows how many objections are kept.

Rules and limits

  • The address you look up is never put in a web address, so it doesn't end up in server logs.
  • Looking someone up and deleting are both recorded in the audit log, with counts per kind and without the address (privacy.find, privacy.erase, target type person). Deleting consent receipts by reference is recorded as privacy.erase on target type consent-receipt, with the count and without the reference.
  • A visitor's own download: only for a signed-in account whose address has been confirmed, so nobody gets someone else's data by signing up with their address. At most 10 per hour from one address, never cached, and audited as privacy.export-own without the address. The account page saves it as my-data.json.
  • The audit log is searched by account (what an editor did), not by text: its summaries never name a visitor (a canceled appointment is "Canceled an appointment"; a refund's reason is in the entry's details, typed by the admin). Editors' own addresses do appear in account-management entries, which go with the audit log's retention (two years by default).
  • An exported audit log is a copy outside SHADE: deleting a person's data or retention does not reach a file an admin exported (Audit log). Delete such a copy yourself when you no longer need it.

Outside services

SHADE needs no outside service to run. Besides the services you connect yourself (email, payments), these are asked only once you switch them on:

  • VIES (the European Commission, in the EU): with Check VAT numbers in VIES on (VAT rates), the VAT number a business gives when it orders without VAT is checked there: its country code and digits, nothing else about the person or the order.
  • The update feed (any host the operator chooses): with SHADE_UPDATE_FEED_URL set (Updating and backups), SHADE asks it for the list of releases at most every six hours. Nothing about the instance, its people or its content is sent; the feed's host sees the instance's address. Off by default, with no default address.

For developers

The code and its tests: shade/features/privacy/README.md in the shade repository.