Skip to content

feat: add account deletion (Apple Guideline 5.1.1v)#137

Merged
vgpastor merged 2 commits intomainfrom
claude/enhance-idea-submission-ux-rd54A
Mar 21, 2026
Merged

feat: add account deletion (Apple Guideline 5.1.1v)#137
vgpastor merged 2 commits intomainfrom
claude/enhance-idea-submission-ux-rd54A

Conversation

@vgpastor
Copy link
Copy Markdown
Contributor

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

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
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dea-map Ready Ready Preview Mar 21, 2026 1:26pm

Request Review

- 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
@vgpastor vgpastor merged commit 4e34b6f into main Mar 21, 2026
9 checks passed
@vgpastor vgpastor deleted the claude/enhance-idea-submission-ux-rd54A branch March 21, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants