Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with the last admin of a leaderboard deleting their account #38

Open
Eldemarkki opened this issue Jul 28, 2022 · 0 comments
Open

Comments

@Eldemarkki
Copy link
Member

Eldemarkki commented Jul 28, 2022

If the last admin of a leaderboard deletes their account, the leaderboard will be left dangling in the database. Same error as #24

I can think of 2 possible solutions:

  • After an admin deletes their account, it also deletes the leaderboard (but shows a notification “This will also delete leaderboards X, Y and Z. Are you sure?”)
  • Don't allow the user to delete their account before they have promoted another admin or deleted the leaderboard
    • This is worse in my opinion, because users should be able to delete their data as easily as possible for data privacy/safety reasons
@Eldemarkki Eldemarkki changed the title Last admin on a leaderboard shouldn't be able to delete their account Problems with the last admin of a leaderboard deleting their account Jul 28, 2022
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

No branches or pull requests

1 participant