feat(legal): /delete-account/, the page Google Play is given (D85, D86)
Some checks failed
PR checks / checks (pull_request) Failing after -31s
Some checks failed
PR checks / checks (pull_request) Failing after -31s
Step 5 of docs/website/ACCOUNT_DELETION.md (§4.5). The page explains how to delete an account on a community's site and in the app, what goes, what stays and for how long, and who to ask when you cannot sign in. It cannot delete anything, because we hold no account. - The facts are one deployment row in collection.mjs (deletion.goes, .stays with a keep each, .staff), in the website's own words. /privacy section 3 renders it as prose, the page renders its lists, and PLAY_DATA_SAFETY.md prints them under the console's deletion questions. - The app rows that a deletion touches (session, trust token, push, inbox snapshot) say so. The Data Safety notes now answer "yes" to account deletion and name the URL. lastUpdated is 2026-10-30. - D85: linked from the footer's legal bar, /privacy sections 2 and 3, and /app/'s "Two ways to get it". - D86: someone who cannot sign in is sent to their community's operator, never to us. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
This commit is contained in:
@@ -75,6 +75,16 @@
|
||||
* @property {Retention} retention
|
||||
* @property {string} source The file this was read out of, repo-relative.
|
||||
* @property {PlayMapping} [play]
|
||||
* @property {Deletion} [deletion] The one row `/delete-account/` renders. See that row.
|
||||
*
|
||||
* @typedef {object} Kept
|
||||
* @property {string} what What stays, and who sees what of it.
|
||||
* @property {string} keep For how long. Play asks for the retention of what stays.
|
||||
*
|
||||
* @typedef {object} Deletion
|
||||
* @property {string[]} goes What goes with the account, in the deployment's own words.
|
||||
* @property {Kept[]} stays
|
||||
* @property {string} staff Said of a staff account only (AD9).
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -253,10 +263,13 @@ export const collected = [
|
||||
'storage on the device (AES-256-GCM through Jetpack Security) and are sent to ' +
|
||||
'exactly one place: the deployment that issued them, with every request. Changing ' +
|
||||
'your username or password, setting up two-factor sign-in and generating recovery ' +
|
||||
'codes from the app go to the same place.',
|
||||
'codes from the app go to the same place. So does deleting the account, which sends ' +
|
||||
'your username, your password and, if the account has one, a two-factor code.',
|
||||
retention: {
|
||||
summary: 'On the device until you sign out',
|
||||
detail: 'Signing out clears them; uninstalling the app removes them with it.',
|
||||
summary: 'On the device until you sign out or delete the account',
|
||||
detail:
|
||||
'Signing out clears them, and so does deleting the account; uninstalling the app ' +
|
||||
'removes them with it.',
|
||||
},
|
||||
source:
|
||||
'data/api/AuthApi.kt, data/api/SsoApi.kt, data/api/MeApi.kt, core/auth/EncryptedTokenStore.kt',
|
||||
@@ -295,7 +308,9 @@ export const collected = [
|
||||
summary: 'On the device until it expires or you revoke it',
|
||||
detail:
|
||||
'Thirty days, and revocable at any time from the deployment’s Trusted Devices ' +
|
||||
'screen, which is also where it can be revoked if the phone is lost.',
|
||||
'screen, which is also where it can be revoked if the phone is lost. Deleting the ' +
|
||||
'account from the app drops it from the phone too, since there is no next sign-in ' +
|
||||
'for it to skip.',
|
||||
},
|
||||
source: 'core/auth/EncryptedTrustTokenStore.kt, core/auth/DeviceNameProvider.kt',
|
||||
play: {
|
||||
@@ -372,10 +387,11 @@ export const collected = [
|
||||
'authenticated connection to the deployment. A leaked topic name therefore reveals ' +
|
||||
'nothing, which is the reason the relay needs no account and holds nothing about you.',
|
||||
retention: {
|
||||
summary: 'Until you turn push off, sign out, or uninstall',
|
||||
summary: 'Until you turn push off, sign out, delete the account, or uninstall',
|
||||
detail:
|
||||
'Signing out or disabling push unregisters the device with the deployment and ' +
|
||||
'discards the topic. The relay retains whatever its own operator configures it to; ' +
|
||||
'discards the topic; deleting the account drops the registration on the deployment ' +
|
||||
'with everything else. The relay retains whatever its own operator configures it to; ' +
|
||||
'if the deployment points at a relay it does not run, that relay is a third party ' +
|
||||
'to both of us, and it still only ever sees a tickle.',
|
||||
},
|
||||
@@ -545,9 +561,9 @@ export const collected = [
|
||||
'second person signing in on the same phone is never shown the first one’s ' +
|
||||
'messages.',
|
||||
retention: {
|
||||
summary: 'Until you sign out, or the thirty are pushed out by newer ones',
|
||||
summary: 'Until you sign out or delete the account, or the thirty are pushed out by newer ones',
|
||||
detail:
|
||||
'Signing out deletes the snapshot outright. It lives in the app’s ordinary ' +
|
||||
'Signing out, or deleting the account, deletes the snapshot outright. It lives in the app’s ordinary ' +
|
||||
'preference store rather than the encrypted one — sign-in tokens are the thing ' +
|
||||
'that store is for — which is worth stating plainly: on a device where someone ' +
|
||||
'has root, these are readable, and they are notification bodies rather than ' +
|
||||
@@ -607,6 +623,84 @@ export const collected = [
|
||||
retention: { summary: 'Set by the operator; nothing expires on its own' },
|
||||
source: 'website server/db/schema.sql — users, user_identities',
|
||||
},
|
||||
/*
|
||||
* The facts `/delete-account/` is built from (ACCOUNT_DELETION.md §4.5), which is the page
|
||||
* Google Play is given. A row here, rather than a list on that page, so `/privacy` and the
|
||||
* deletion page cannot disagree about what a deletion takes.
|
||||
*
|
||||
* `goes` and the first four `stays` are the website's own words, from
|
||||
* `client/src/lib/accountDeletion.js` (WHAT_GOES, WHAT_STAYS), which the app's strings
|
||||
* repeat: a member who reads this page and then the confirm step must recognise the list.
|
||||
* Play also asks how long what stays is kept, which the screens do not say, so each
|
||||
* `stays` entry carries a `keep`. The last entry, the delivery log, is on BACKEND_DESIGN.md
|
||||
* §6.6's list but not on the screens; it is here because Play asks about everything kept.
|
||||
*/
|
||||
{
|
||||
id: 'deploy-account-deletion',
|
||||
scope: 'deployment',
|
||||
title: 'Deleting an account',
|
||||
body:
|
||||
'You can delete your own account, on the site from the Account page, or in the app ' +
|
||||
'from My account. It takes your password, and a two-factor code if the account has ' +
|
||||
'one, and the account goes at once: there is no waiting period and nothing to ' +
|
||||
'cancel. Your sign-in, email address, devices, linked sign-ins, game-account links ' +
|
||||
'and inbox go with it. What you wrote where others read it stays, and other members ' +
|
||||
'see it as written by “[deleted player]”; staff still see who it was, for ' +
|
||||
'moderation. An operator can delete any account from the admin panel in the same way.',
|
||||
retention: {
|
||||
summary: 'Deleted at once; what stays, and for how long, is on the account-deletion page',
|
||||
detail:
|
||||
'Where the site can send email and the account had an address, one last message ' +
|
||||
'goes to it, saying the account was deleted.',
|
||||
},
|
||||
source:
|
||||
'website server/src/auth/accountDeletion.js, client/src/lib/accountDeletion.js; ' +
|
||||
'docs/website/ACCOUNT_DELETION.md',
|
||||
deletion: {
|
||||
goes: [
|
||||
'your sign-in, password, email address, two-factor settings and recovery codes',
|
||||
'every signed-in device, trusted device and push registration',
|
||||
'your linked sign-ins, such as Google, Discord or Steam',
|
||||
'your game-account links, and anything this site granted in the game through them',
|
||||
'your notification settings and inbox',
|
||||
],
|
||||
stays: [
|
||||
{
|
||||
what:
|
||||
'What you wrote where others read it, such as forum posts, stays. Other members ' +
|
||||
'see it as written by “[deleted player]”.',
|
||||
keep: 'Until a moderator or the operator removes it, as with any post.',
|
||||
},
|
||||
{
|
||||
what:
|
||||
'Reports you filed and appeals you made stay as moderation records. Staff can ' +
|
||||
'still see who it was, and the activity log keeps its IP addresses.',
|
||||
keep: 'Until the operator removes them.',
|
||||
},
|
||||
{
|
||||
what:
|
||||
'Event results stay with the score and the in-game name, with no site account ' +
|
||||
'behind them.',
|
||||
keep: 'Until the operator removes them.',
|
||||
},
|
||||
{
|
||||
what: 'A game account stays on the game server. Only its link to this site goes.',
|
||||
keep: 'For as long as the game server keeps it, which is up to whoever runs that server.',
|
||||
},
|
||||
{
|
||||
what:
|
||||
'The record of notifications sent to you keeps a one-way hash of your email ' +
|
||||
'address, never the address, and no longer names your account. An address that ' +
|
||||
'bounced or was reported as spam stays on the suppression list, so it is never ' +
|
||||
'mailed again.',
|
||||
keep:
|
||||
'The record is swept after a period the operator sets, 180 days by default. The ' +
|
||||
'suppression list does not expire.',
|
||||
},
|
||||
],
|
||||
staff: 'If you were staff, your username can never be used again, by anyone.',
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'deploy-sessions',
|
||||
scope: 'deployment',
|
||||
@@ -757,6 +851,24 @@ export function collectedIn(scope) {
|
||||
return collected.filter((entry) => entry.scope === scope);
|
||||
}
|
||||
|
||||
/**
|
||||
* The row `/delete-account/` renders. It throws rather than returning nothing, because
|
||||
* that page is the address Google Play is given, and with no row it would render as a
|
||||
* deletion page that names nothing deleted.
|
||||
*
|
||||
* @returns {Collected & { deletion: Deletion }}
|
||||
*/
|
||||
export function deletionRow() {
|
||||
const rows = collected.filter((entry) => entry.deletion);
|
||||
if (rows.length !== 1) {
|
||||
throw new Error(
|
||||
`src/data/collection.mjs: expected exactly one row with \`deletion\`, found ${rows.length}.\n` +
|
||||
'\n/delete-account/ renders that row (ACCOUNT_DELETION.md §4.5).\n'
|
||||
);
|
||||
}
|
||||
return /** @type {Collected & { deletion: Deletion }} */ (rows[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* The `app` rows that carry a Play mapping — the Data Safety generator's input.
|
||||
*
|
||||
|
||||
@@ -29,7 +29,7 @@ export const legal = {
|
||||
* from git: a build timestamp would move on every rebuild and tell a reader nothing,
|
||||
* and a commit date would move when a stylesheet changed.
|
||||
*/
|
||||
lastUpdated: '2026-10-29',
|
||||
lastUpdated: '2026-10-30',
|
||||
|
||||
/**
|
||||
* The minimum age to sign up for the beta. The org lead's decision, 2026-08-24 (D31).
|
||||
|
||||
Reference in New Issue
Block a user