Account page: Username, email and join date, an export, and deletion by password #383
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#385 Claim a Guest on the wire, and write its later Games to the Account
amaurycoudr/chess-project
#379 Sign-up and sign-in pages: the navigation names the Account, a refresh keeps it signed in
amaurycoudr/chess-project
#382 Seats and Games as an Account: one Seat across devices, Games owned and listed by the Account
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#364
What to build
A signed-in Player opens
/accountfrom the site navigation and sees their Username, email and join date. They can download a JSON file of their Account, their Sessions (created, last used, expires, user agent; no hash) and their Games (id, timestamps, Color, winner, ending, opponent name, UCI line and PGN from the engine). They can delete their Account after confirming with their password. Deletion cascades to their Sessions and reset tokens, clears both cookies and resets the Query cache. Their side of each Game is left with no owner, so the Game stays in the opponent's "My games".Seam: the RPC wire; the front views
Acceptance criteria
account.exportanswers the document above, with no token hash, email of another Player or account id of an opponentaccount.deletewith the wrong password isWRONG_PASSWORDand deletes nothing; with the right one it deletes the Account, its Sessions and its reset tokens, and clears both cookiesgame.liststill lists their shared Game, with the deleted side having no ownermentioned in issue #385
mentioned in issue #364
mentioned in issue #379
mentioned in issue #382
marked this issue as related to #364
marked this issue as related to #379
marked this issue as related to #382
marked this issue as related to #385
mentioned in merge request !523
mentioned in commit
b379bb71bdmentioned in commit
550a569aefDelivered by !523, merged into main.