File: _user_restrictions.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (11 lines) | stat: -rw-r--r-- 791 bytes parent folder | download
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")
  = render_if_exists 'admin/application_settings/private_profile_restrictions', form: form
  = 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")