blob: 681ce87edb6f8b65a813c792f48cf99e2b492b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
---
stage: Manage
group: Access
info: 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
---
# Modifying global user settings
GitLab administrators can modify user settings for the entire GitLab instance.
## Disallow users creating top-level groups
By default, new users can create top-level groups. To disable this, modify the appropriate configuration file,
and then [reconfigure and restart GitLab](restart_gitlab.md).
For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_rails['gitlab_default_can_create_group'] = false
```
For source installations, uncomment the following line in `config/gitlab.yml`:
```yaml
# default_can_create_group: false # default: true
```
## Disallow users changing usernames
By default, new users can change their usernames. To disable this, modify the appropriate configuration file,
and then [reconfigure and restart GitLab](restart_gitlab.md).
For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_rails['gitlab_username_changing_enabled'] = false
```
For source installations, uncomment the following line in `config/gitlab.yml`:
```yaml
# username_changing_enabled: false # default: true - User can change their username/namespace
```
|