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

_user_restrictions.html.haml « application_settings « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4bdc21a3695eaef2a15d52db3e8ce846c94d4742 (plain)
1
2
3
4
5
6
7
8
9
10
11
- form = local_assigns.fetch(:form)

.form-group
  = label_tag _('User restrictions')
  = render_if_exists 'admin/application_settings/updating_name_disabled_for_users', form: form
  - if Feature.enabled?(:ui_for_organizations, current_user)
    = form.gitlab_ui_checkbox_component :can_create_organization, _("Allow users to create organizations")
  = form.gitlab_ui_checkbox_component :can_create_group, _("Allow new users to create top-level groups")
  = form.gitlab_ui_checkbox_component :user_defaults_to_private_profile, _("Make new users' profiles private by default")
  = render_if_exists 'admin/application_settings/allow_account_deletion', form: form
  = form.gitlab_ui_checkbox_component :allow_project_creation_for_guest_and_below, _("Allow users with up to Guest role to create groups and personal projects")