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
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).
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