Skip to content

Conversation

@functionzz
Copy link
Collaborator

Description

This PR enables the user to be able to remove their own account. It includes a modal for confirmation.

NOTE: We need to confirm that if a user deletes, only their personal information and presence is deleted, not all their contributions.

Resolves #3818.

Screenshots

image image Notice here that I am on an admin account. If a user submits translations then is deleted, their name switches to Imported.

Additional Notes

When one is testing this feature, be sure you are on an account that you don't mind being deleted.

@flodolo
Copy link
Collaborator

flodolo commented Jan 27, 2026

What happens to the existing session after the account is removed?

@mathjazz
Copy link
Collaborator

mathjazz commented Jan 27, 2026

I'd change the labels a little and make the Delete button occupy the entire width of the column, like the dropdowns:

Screenshot 2026-01-27 at 11 24 38

I'd also be fine with just putting the "Are you sure?" in the button text like we do on the Request more projects page here:
https://pontoon.mozilla.org/sl/

Popup is probably slightly less likely to clicked by mistake, but if we want to keep it, it needs some more design tweaks.

@mathjazz
Copy link
Collaborator

What happens to the existing session after the account is removed?

You get logged out immediatelly and the "User deleted." notification appears on top.

Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
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.

Users should be able to remove their account

3 participants