This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow usernames to clash with teams
Up until now we allowed users to have the same username as some teams. This is troublesome because then the private team assigned to this user would clash with the existing one. In the future we should figure out a way to better handle these hidden teams (e.g. by creating one with a random name and the reference it on the user row). For now, in order to not be too disruptive we will disallow creating users with the same name as an existing team (note that the other way around is also disallowed). Fixes #836 Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters