2 KiB
2 KiB
stage | group | info |
---|---|---|
Manage | Authentication and Authorization | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments |
Modify global user settings (FREE SELF)
GitLab administrators can modify user settings for the entire GitLab instance.
Prevent new users from creating top-level groups
By default, new users can create top-level groups. To disable new users' ability to create top-level groups (does not affect existing users' setting):
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 existing users from creating top-level groups
Administrators can:
- Use the Admin Area to prevent an existing user from creating top-level groups.
- Use the modify an existing user API endpoint to change the
can_create_group
setting.
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