diff options
author | Wei-Meng Lee <1081658-weimeng@users.noreply.gitlab.com> | 2019-03-15 03:19:04 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-03-15 03:19:04 +0000 |
commit | 7eac42c04a3a0d752c0a0d23bb77129cbda917f5 (patch) | |
tree | 1f2da69be8ff4bd3848130b6c585e5adf9ba80cf /doc | |
parent | c88535ae194cf531c13420cb54589155f5ce3ec6 (diff) | |
download | gitlab-ce-7eac42c04a3a0d752c0a0d23bb77129cbda917f5.tar.gz |
Document global user permission configuration
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/index.md | 1 | ||||
-rw-r--r-- | doc/administration/user_settings.md | 35 | ||||
-rw-r--r-- | doc/user/permissions.md | 6 |
3 files changed, 42 insertions, 0 deletions
diff --git a/doc/administration/index.md b/doc/administration/index.md index b723edfc78f..5f368ea8d49 100644 --- a/doc/administration/index.md +++ b/doc/administration/index.md @@ -41,6 +41,7 @@ Learn how to install, configure, update, and maintain your GitLab instance. - [System hooks](../system_hooks/system_hooks.md): Notifications when users, projects and keys are changed. - [Security](../security/README.md): Learn what you can do to further secure your GitLab instance. - [Usage statistics, version check, and usage ping](../user/admin_area/settings/usage_statistics.md): Enable or disable information about your instance to be sent to GitLab, Inc. +- [Global user settings](user_settings.md): Configure instance-wide user permissions. - [Polling](polling.md): Configure how often the GitLab UI polls for updates. - [GitLab Pages configuration](pages/index.md): Enable and configure GitLab Pages. - [GitLab Pages configuration for GitLab source installations](pages/source.md): Enable and configure GitLab Pages on 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 +``` diff --git a/doc/user/permissions.md b/doc/user/permissions.md index 833b9b66102..9db1e43fdf2 100644 --- a/doc/user/permissions.md +++ b/doc/user/permissions.md @@ -23,6 +23,12 @@ To add or import a user, you can follow the See our [product handbook on permissions](https://about.gitlab.com/handbook/product#permissions-in-gitlab) +## Instance-wide user permissions + +By default, users can create top-level groups and change their +usernames. A GitLab administrator can configure the GitLab instance to +[modify this behavior](../administration/user_settings.md). + ## Project members permissions NOTE: **Note:** |