summaryrefslogtreecommitdiff
path: root/doc/administration/user_settings.md
diff options
context:
space:
mode:
authorWei-Meng Lee <1081658-weimeng@users.noreply.gitlab.com>2019-03-15 03:19:04 +0000
committerEvan Read <eread@gitlab.com>2019-03-15 03:19:04 +0000
commit7eac42c04a3a0d752c0a0d23bb77129cbda917f5 (patch)
tree1f2da69be8ff4bd3848130b6c585e5adf9ba80cf /doc/administration/user_settings.md
parentc88535ae194cf531c13420cb54589155f5ce3ec6 (diff)
downloadgitlab-ce-7eac42c04a3a0d752c0a0d23bb77129cbda917f5.tar.gz
Document global user permission configuration
Diffstat (limited to 'doc/administration/user_settings.md')
-rw-r--r--doc/administration/user_settings.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/administration/user_settings.md b/doc/administration/user_settings.md
new file mode 100644
index 00000000000..f9654655949
--- /dev/null
+++ b/doc/administration/user_settings.md
@@ -0,0 +1,35 @@
+# 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.
+
+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.
+
+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 her username/namespace
+```