Let Cards players delete their account and read a privacy notice
Add a Compte section with a privacy notice and a confirmed deletion that anonymises the player row, erases their possessions and cancels open trades. The public contact comes from CARDS_PRIVACY_CONTACT, which production now requires before enabling the game. The admin E2E no longer relies on a pull from the previous test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
155187d01f
commit
e60fbd4e9b
16 changed files with 319 additions and 10 deletions
|
|
@ -10,6 +10,7 @@ process.env.CARDS_ENABLED = "true";
|
|||
process.env.CARDS_DEV_AUTH = "true";
|
||||
process.env.CARDS_DB_PATH = join(directory, "cards.sqlite");
|
||||
process.env.CARDS_PUBLIC_ORIGIN = `http://127.0.0.1:${process.env.PORT}`;
|
||||
process.env.CARDS_PRIVACY_CONTACT = "privacy@example.invalid";
|
||||
// Rend le bouton Discord visible ; les parcours ne le suivent jamais jusqu'à Discord.
|
||||
process.env.DISCORD_CLIENT_ID = "e2e-client";
|
||||
process.env.DISCORD_CLIENT_SECRET = "e2e-secret";
|
||||
|
|
@ -28,6 +29,8 @@ for (const cardId of ["starvoid-dragon", "crimson-moon-kitsune", "milky-way-pand
|
|||
for (const finishId of ["spectral-prism-aurora", "spectral-prism-cosmic"]) insertVariation.run(`${cardId}-${finishId}`, cardId, finishId);
|
||||
}
|
||||
insertVariation.run("mythic-card-pull-spectral-prism-solar", "mythic-card-pull", "spectral-prism-solar");
|
||||
// L'administration distingue les variations déjà possédées : ses parcours ne doivent pas dépendre d'un tirage d'un autre test.
|
||||
seedService.addCard(partner.id, "starvoid-dragon-spectral-prism-aurora");
|
||||
seedDatabase.close();
|
||||
|
||||
const { startServer } = await import("../server.mjs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue