Create Alert/Notification When Username is Modified (LDAP Integration)
Create an Alert/Notification when Username is Modified while using LDAP Integration.
Prevents confusion when user's try to login using their expected username.
Intended users
LDAP integrated Users
Further details
For a new user created in GitLab via LDAP integration, if the name is already taken, GitLab appends a 1 to the end of the username. This causes major issues as there is an expectation that the GitLab username will also match the sAMAccountName
as configured in the gitlab.rb scripts that check this username to set permissions and such.
IE, userA
created a group named userB
. Then after that userB
attempts to login to GitLab for the first time. But when the user logs in the unique check fails so the username becomes userB1
.
The issue is that there is no warning or alert of this happening, and caused a good bit of time wasted troubleshooting.
Proposal
Can GitLab fire an alert or something along those lines when this happens? As it currently stands, we are only notified after users complain they cannot access what our docs say they should be able to by default.
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
Identifying that a username has been modified/changed from the expected.