Privacy
tilttek/journal-bundleWith phil/privacy-bundle installed and the entries in the database, the bundle registers JournalPrivacy as an
exporter and an eraser. The data subject is a member, the author <member_kind>:<subject> — member:44 by default.
The export
The export lists every entry the member wrote, in every journal, in the order they were first kept, drafts and every block included: its identifier, journal, genre, title, subject, audience, state, publication time and blocks. It is read by pages of 500 entries. A member who wrote nothing gives an empty export.
The erasure
The erasure runs in one transaction:
- with
session_summaries: delete, the default, every entry the member wrote is deleted with its blocks; - with
session_summaries: keep, the published session summaries every reader sees stay, since they are the table's story as the other players read it: their author becomes a pseudonym,erased:and 16 random hexadecimal digits drawn once for the erasure, their version goes up by one, and the blocks only their author read are deleted. Every other entry the member wrote — drafts, characters' and solo journals, summaries for the game master — is deleted.
Each entry deleted is told to the observer as EntryRemoved. The report names tilttek_journal_entry and
tilttek_journal_block as deleted, and with keep, tilttek_journal_entry.author as pseudonymised; it is the same for
an erasure sent again, which finds nothing more to erase.
What the erasure leaves to the application:
- the text of the kept summaries, which may name the member as their character or by their name: the summaries are kept as the table wrote them;
- the blocks the member proposed in other people's entries: a block does not record who proposed it, and its writer accepted or rewrote it;
- the secrets of
tilttek/player-knowledge, which their own store erases.
Without the privacy bundle
Call DbalJournalStore::eraseAuthor($author, $pseudonym) from the application's own erasure: it returns the entries it
erased, to tell the listeners.