play data-safety: PSL_SUPPORT_DATA_DELETION_BY_USER as Play's single choice (partialDeletion true | false | 'auto90'), drop the removed PSL_DATA_COLLECTION_USER_REQUEST_DELETE (deletionRequest deprecated, check notes it); ship Google's empty form (cli/data/play-data-safety-form.csv, exported 2026-10-12), take every Answer requirement from it and report pairs not in it (formPairIssues) in check, declarations and play data-safety. Pitfall 21
This commit is contained in:
parent
dfc28c15f8
commit
b5b8f2da9d
35 changed files with 1824 additions and 859 deletions
|
|
@ -12,7 +12,7 @@ export function profileIssues(config: ShipConfig, o: { demoAccount: boolean }):
|
|||
const err = (msg: string) => out.push({ level: 'error', msg });
|
||||
const warn = (msg: string) => out.push({ level: 'warn', msg });
|
||||
const accounts = !!config.accounts?.enabled;
|
||||
if (config.dataSafety) for (const k of ['collectsData', 'encryptedInTransit', 'deletionRequest'] as const)
|
||||
if (config.dataSafety) for (const k of ['collectsData', 'encryptedInTransit'] as const)
|
||||
if (typeof config.dataSafety[k] !== 'boolean') err(`dataSafety.${k}: not answered (true | false; ask the owner, store-declarations skill)`);
|
||||
const acm = config.dataSafety?.accountCreation ?? ['PSL_ACM_NONE'];
|
||||
if (accounts) {
|
||||
|
|
@ -23,7 +23,6 @@ export function profileIssues(config: ShipConfig, o: { demoAccount: boolean }):
|
|||
const s = accountCreationOf(config.accounts!.signUp);
|
||||
err(`accounts.enabled but dataSafety.accountCreation says PSL_ACM_NONE: list the sign-up methods you offer${s ? ` (accounts.signUp means accountCreation: ${JSON.stringify(s)})` : ' (accounts.signUp, e.g. [\'username\'] for a username with no password, tells storebound scan which)'}`);
|
||||
}
|
||||
if (!config.dataSafety.deletionRequest) err('accounts.enabled but dataSafety.deletionRequest is false: people must be able to delete their account and data');
|
||||
}
|
||||
} else if (config.dataSafety && !acm.includes('PSL_ACM_NONE')) warn('dataSafety.accountCreation lists sign-up methods but accounts.enabled is not set: add accounts { enabled: true, deletionUrl, inApp }');
|
||||
if (config.reviewAccess?.signInRequired) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue