Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/user_settings.md')
-rw-r--r--doc/administration/user_settings.md62
1 files changed, 39 insertions, 23 deletions
diff --git a/doc/administration/user_settings.md b/doc/administration/user_settings.md
index 681ce87edb6..891c11afaf4 100644
--- a/doc/administration/user_settings.md
+++ b/doc/administration/user_settings.md
@@ -4,40 +4,56 @@ 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
+# Modify global user settings **(FREE SELF)**
GitLab administrators can modify user settings for the entire GitLab instance.
-## Disallow users creating top-level groups
+## Prevent users from 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).
+By default, new users can create top-level groups. To disable your users'
+ability to create top-level groups:
-For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`:
+**Omnibus GitLab installations**
-```ruby
-gitlab_rails['gitlab_default_can_create_group'] = false
-```
+1. Edit `/etc/gitlab/gitlab.rb` and add the following line:
-For source installations, uncomment the following line in `config/gitlab.yml`:
+ ```ruby
+ gitlab_rails['gitlab_default_can_create_group'] = false
+ ```
-```yaml
-# default_can_create_group: false # default: true
-```
+1. [Reconfigure and restart GitLab](restart_gitlab.md#omnibus-installations).
-## Disallow users changing usernames
+**Source installations**
-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).
+1. Edit `config/gitlab.yml` and uncomment the following line:
-For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`:
+ ```yaml
+ # default_can_create_group: false # default: true
+ ```
-```ruby
-gitlab_rails['gitlab_username_changing_enabled'] = false
-```
+1. [Restart GitLab](restart_gitlab.md#installations-from-source).
-For source installations, uncomment the following line in `config/gitlab.yml`:
+## Prevent users from changing their usernames
-```yaml
-# username_changing_enabled: false # default: true - User can change their username/namespace
-```
+By default, new users can change their usernames. To disable your users'
+ability to change their usernames:
+
+**Omnibus GitLab installations**
+
+1. Edit `/etc/gitlab/gitlab.rb` and add the following line:
+
+ ```ruby
+ gitlab_rails['gitlab_username_changing_enabled'] = false
+ ```
+
+1. [Reconfigure and restart GitLab](restart_gitlab.md#omnibus-installations).
+
+**Source installations**
+
+1. Edit `config/gitlab.yml` and uncomment the following line:
+
+ ```yaml
+ # username_changing_enabled: false # default: true - User can change their username/namespace
+ ```
+
+1. [Restart GitLab](restart_gitlab.md#installations-from-source).