-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Support soft-delete or archive for user records and preferences so accounts can be “deactivated” without losing data for compliance or recovery.
Requirements
- Add
deletedAt: Date | null(orarchivedAt) to users table; add index for active users (where deletedAt is null) - All user queries (profile, preferences) filter by deletedAt is null unless admin
- POST
/api/user/deactivate(protected): set deletedAt for current user; optionally anonymize or retain for N days per policy - No hard delete of user row by default; document retention and purge policy
- GET
/api/user/profilereturns 404 or 410 after deactivation
Acceptance Criteria
- Soft-delete/archive field and queries implemented
- Deactivate endpoint and auth in place
- Retention and purge policy documented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program