Modify global user settings (FREE SELF)
GitLab administrators can modify user settings for the entire GitLab instance.
Prevent users from creating top-level groups
By default, new users can create top-level groups. To disable your users' ability to create top-level groups:
Omnibus GitLab installations
-
Edit
/etc/gitlab/gitlab.rb
and add the following line:gitlab_rails['gitlab_default_can_create_group'] = false
Source installations
-
Edit
config/gitlab.yml
and uncomment the following line:# default_can_create_group: false # default: true
Prevent users from changing their usernames
By default, new users can change their usernames. To disable your users' ability to change their usernames:
Omnibus GitLab installations
-
Edit
/etc/gitlab/gitlab.rb
and add the following line:gitlab_rails['gitlab_username_changing_enabled'] = false
Source installations
-
Edit
config/gitlab.yml
and uncomment the following line:# username_changing_enabled: false # default: true - User can change their username/namespace