feat(registry): delete an account and everything kept for it #13

Merged
kblack0610 merged 2 commits from feat/account-delete into main 2026-11-03 17:58:05 +00:00
Owner

Adds DELETE /api/v1/accounts/me (needs the player code). One transaction removes the account's leases, memberships, owned worlds, characters, snapshots, player name, ratings, records and result lines; then the save files go from the bucket. Other players' results and worlds stay. No undelete window.

Why: Apple 5.1.1(v) and Google Play require in-app account deletion before Shape City can list.

Tested: go vet + go test ./... in golang:1.24 after merging main; TestAccountDelete checks every table and blob, and that Bob's world, rating and result line survive.

https://claude.ai/code/session_01BALUC3L4f5i4haLw97VvXY

Adds `DELETE /api/v1/accounts/me` (needs the player code). One transaction removes the account's leases, memberships, owned worlds, characters, snapshots, player name, ratings, records and result lines; then the save files go from the bucket. Other players' results and worlds stay. No undelete window. Why: Apple 5.1.1(v) and Google Play require in-app account deletion before Shape City can list. Tested: `go vet` + `go test ./...` in golang:1.24 after merging main; TestAccountDelete checks every table and blob, and that Bob's world, rating and result line survive. https://claude.ai/code/session_01BALUC3L4f5i4haLw97VvXY
Owned worlds, characters, snapshots and their save files, memberships, leases, the player name, ratings, records and the player's result lines. Other players' results stay. Apple 5.1.1(v) and Google Play want in-app deletion.

Claude-Session: https://claude.ai/code/session_01BALUC3L4f5i4haLw97VvXY
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kblack0610/bnb-game-servers!13
No description provided.