Коммит bfd964a3 создал по автору Craig Norris's avatar Craig Norris
Просмотр файлов

Add tier badge and do cleanup on settings page

Add tier badge and do cleanup on settings page
владелец 655f8035
......@@ -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
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать