2018-11-08 19:23:39 +05:30
|
|
|
.form-group.row
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-2.col-form-label.pt-0
|
2021-04-29 21:17:54 +05:30
|
|
|
= f.label :lfs_enabled, _('Large File Storage')
|
2018-10-15 14:42:47 +05:30
|
|
|
.col-sm-10
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :lfs_enabled, checked: @group.lfs_enabled?, class: 'form-check-input'
|
|
|
|
= f.label :lfs_enabled, class: 'form-check-label' do
|
2018-10-15 14:42:47 +05:30
|
|
|
%strong
|
2021-04-29 21:17:54 +05:30
|
|
|
= _('Allow projects within this group to use Git LFS')
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to sprite_icon('question-o'), help_page_path('topics/git/lfs/index')
|
2018-10-15 14:42:47 +05:30
|
|
|
%br/
|
2021-04-29 21:17:54 +05:30
|
|
|
%span= _('This setting can be overridden in each project.')
|
2019-07-07 11:18:12 +05:30
|
|
|
.form-group.row
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label s_('ProjectCreationLevel|Allowed to create projects')
|
2019-07-07 11:18:12 +05:30
|
|
|
.col-sm-10
|
|
|
|
= f.select :project_creation_level, options_for_select(::Gitlab::Access.project_creation_options, @group.project_creation_level), {}, class: 'form-control'
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-10-12 21:52:04 +05:30
|
|
|
.form-group.row
|
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label s_('SubgroupCreationlevel|Allowed to create subgroups')
|
|
|
|
.col-sm-10
|
|
|
|
= f.select :subgroup_creation_level, options_for_select(::Gitlab::Access.subgroup_creation_options, @group.subgroup_creation_level), {}, class: 'form-control'
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-group.row
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-2.col-form-label.pt-0
|
2021-04-29 21:17:54 +05:30
|
|
|
= f.label :require_two_factor_authentication, _('Two-factor authentication')
|
2018-10-15 14:42:47 +05:30
|
|
|
.col-sm-10
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :require_two_factor_authentication, class: 'form-check-input'
|
|
|
|
= f.label :require_two_factor_authentication, class: 'form-check-label' do
|
2018-10-15 14:42:47 +05:30
|
|
|
%strong
|
2021-04-29 21:17:54 +05:30
|
|
|
= _("Require all users in this group to setup Two-factor authentication")
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to sprite_icon('question-o'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group')
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-group.row
|
|
|
|
.offset-sm-2.col-sm-10
|
|
|
|
.form-check
|
2018-10-15 14:42:47 +05:30
|
|
|
= f.text_field :two_factor_grace_period, class: 'form-control'
|
2021-04-29 21:17:54 +05:30
|
|
|
.form-text.text-muted= _("Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication")
|