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:
Shinuwa 2026-11-05 18:05:41 +01:00
parent 155187d01f
commit e60fbd4e9b
16 changed files with 319 additions and 10 deletions

View file

@ -6,6 +6,8 @@ CARDS_ENABLED=false
CARDS_DB_PATH=/var/lib/sokko-g/cards/nebula-cards.sqlite
# La recharge des ouvertures, l'ouverture des paquets et les taux de tirage se règlent depuis l'administration.
CARDS_PUBLIC_ORIGIN=https://sokkog.example.com
# Adresse e-mail publique affichée dans la notice de confidentialité ; obligatoire pour activer le jeu en production.
CARDS_PRIVACY_CONTACT=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URI=https://sokkog.example.com/api/cards/auth/callback