feat: add account deletion (Apple Guideline 5.1.1v)#137
Merged
Conversation
Implement account deletion to comply with Apple App Store requirement that apps supporting account creation must also offer account deletion. Backend (API): - Add DELETE /api/auth/delete-account endpoint - Requires password confirmation for security - Anonymizes personal data (email, name, password) instead of deleting the user record, keeping AEDs and audit trails intact - Removes organization memberships to revoke permissions - Sets is_active=false to prevent login Mobile: - Add deleteAccount to IAuthRepository, IHttpClient (DELETE method), ApiAuthRepository, and AuthContext - Add "Eliminar mi cuenta" button in ProfileTabPage with IonAlert password confirmation dialog - Show clear message about what data is deleted vs preserved Version bump: 1.0.8 → 1.0.9 https://claude.ai/code/session_01An6VjB1K1hn1GjpsfNYPaA
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Create /profile page showing user info and delete account option - Make user name in Navigation clickable, linking to /profile - Delete flow requires password confirmation, same API as mobile https://claude.ai/code/session_01An6VjB1K1hn1GjpsfNYPaA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement account deletion to comply with Apple App Store requirement that apps supporting account creation must also offer account deletion.
Backend (API):
Mobile:
Version bump: 1.0.8 → 1.0.9
https://claude.ai/code/session_01An6VjB1K1hn1GjpsfNYPaA