Commit 6a244e11 authored by Evan Read's avatar Evan Read

Merge branch 'docs-user-settings-cleanup' into 'master'

Add tier badge and do cleanup on settings page

See merge request gitlab-org/gitlab!72292
parents ca9ed983 bfd964a3
...@@ -4,40 +4,56 @@ group: Access ...@@ -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 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. 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, By default, new users can create top-level groups. To disable your users'
and then [reconfigure and restart GitLab](restart_gitlab.md). ability to create top-level groups:
For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`: **Omnibus GitLab installations**
```ruby 1. Edit `/etc/gitlab/gitlab.rb` and add the following line:
gitlab_rails['gitlab_default_can_create_group'] = false
```
For source installations, uncomment the following line in `config/gitlab.yml`: ```ruby
gitlab_rails['gitlab_default_can_create_group'] = false
```
```yaml 1. [Reconfigure and restart GitLab](restart_gitlab.md#omnibus-installations).
# default_can_create_group: false # default: true
```
## Disallow users changing usernames **Source installations**
By default, new users can change their usernames. To disable this, modify the appropriate configuration file, 1. Edit `config/gitlab.yml` and uncomment the following line:
and then [reconfigure and restart GitLab](restart_gitlab.md).
For Omnibus installations, add the following to `/etc/gitlab/gitlab.rb`: ```yaml
# default_can_create_group: false # default: true
```
```ruby 1. [Restart GitLab](restart_gitlab.md#installations-from-source).
gitlab_rails['gitlab_username_changing_enabled'] = false
```
For source installations, uncomment the following line in `config/gitlab.yml`: ## Prevent users from changing their usernames
```yaml By default, new users can change their usernames. To disable your users'
# username_changing_enabled: false # default: true - User can change their username/namespace 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).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment