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

fix: GITLAB_USERNAME_CHANGE Not effective #3025

Open
jinjianming opened this issue Oct 12, 2024 · 2 comments
Open

fix: GITLAB_USERNAME_CHANGE Not effective #3025

jinjianming opened this issue Oct 12, 2024 · 2 comments

Comments

@jinjianming
Copy link

Users can still modify their usernames after adding 'GITLAB-USERNAME-CHANGE'I confirm that I have restarted after making the modifications

image image
@kkimurak
Copy link
Contributor

kkimurak commented Oct 15, 2024

It is expected behavior. The "Full name" can be changed even GITLAB_USERNAME_CHANGE is set to false. As far as I known, there is no way to disallow user to edit it.
The parameter GITLAB_USERNAME_CHANGE only affect to user name that will (not) be shown in "Account" settings.

@kkimurak
Copy link
Contributor

kkimurak commented Nov 5, 2024

@jinjianming I'm not sure what you're confusing, but I'll try to explain it more clearly:

  • GITLAB_USERNAME_CHANGE restricts user to not to modify "User name". For me on github, it is "kkimurak" and used when mentioning to user, for example. If the parameter GITLAB_USERNAME_CHANGE is set to false, corresponding setting will not be shown in "Edit profile" page.
  • What you are surrounding in the image is "Full name". For me on github, it is "Kazunori Kimura". This can be modified even GITLAB_USERNAME_CHANGE is set to false

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

2 participants