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

Add support for reserved usernames #1497

Open
mikkonie opened this issue Oct 2, 2024 · 1 comment
Open

Add support for reserved usernames #1497

mikkonie opened this issue Oct 2, 2024 · 1 comment
Labels
app: projectroles Issue in the projectroles app feature Requested feature or enhancement future Idea for the future, not in current milestones

Comments

@mikkonie
Copy link
Collaborator

mikkonie commented Oct 2, 2024

There is a use case in SODAR for having users logging in with a dummy username, which does not correspond to an actual user. It would make sense to prevent the creation of such user to avoid confusion.

There should be a Django setting with a list of user names not allowed by the system. On the creation of a SODARUser object, we would check against the list and refuse creating the object if the username is on this list.

TBD: Do this for local users only? I can't really figure out a case where this would be relevant for LDAP or OIDC users, unless someone has configured something horribly wrong.

@mikkonie mikkonie added feature Requested feature or enhancement app: projectroles Issue in the projectroles app labels Oct 2, 2024
@mikkonie mikkonie added this to the v1.1.0 milestone Oct 2, 2024
@mikkonie
Copy link
Collaborator Author

mikkonie commented Oct 9, 2024

The use case mentioned in SODAR is no longer valid, at least at this point. However, I'm leaving this issue open as it may well be required by something in the future.

@mikkonie mikkonie added the future Idea for the future, not in current milestones label Oct 9, 2024
@mikkonie mikkonie removed this from the v1.1.0 milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: projectroles Issue in the projectroles app feature Requested feature or enhancement future Idea for the future, not in current milestones
Projects
None yet
Development

No branches or pull requests

1 participant