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

Cannot delete a duplicate user #104

Open
simbamangu opened this issue Oct 25, 2024 · 2 comments
Open

Cannot delete a duplicate user #104

simbamangu opened this issue Oct 25, 2024 · 2 comments
Labels
question Further information is requested

Comments

@simbamangu
Copy link
Contributor

simbamangu commented Oct 25, 2024

image

Expected Behavior
The lab lead should be able to delete a user account.

Current Behavior
It is possible to create a user account with the same username as a current user (yes, I messed up ...) and now one has two users with the same name; unsure if this will cause problems at another level but certainly can lead to issues assigning to the right one.

Thoughts:

  • Presumably we don't want to delete a user if they've made annotations. Not sure what to do then, probably renaming or 'deactivating' a given user would be needed?
  • Perhaps not letting lableads make duplicate users is the main fix here?
@TanyaStere42 TanyaStere42 added the question Further information is requested label Oct 25, 2024
@TanyaStere42
Copy link
Member

The deletion issue is something we can address in the future, but there is already validation for preventing duplicate users, so I'm not sure how you did this? I did as broad of testing for this as I could and I always got a preventative error message.
Cases I tested:

  • same name same role
  • same name different role
  • same name with different capitalization
  • same name with different capitalization and different role
    image

Can you provide details on how exactly you got duplicate users?

@simbamangu
Copy link
Contributor Author

I tried to add another duplicate user, and it rejects setup this time ...
image

🤯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants