2018-05-24 19:45:07 +00:00
|
|
|
.form-group.row
|
2019-02-03 14:29:34 +00:00
|
|
|
.col-sm-2.col-form-label.pt-0
|
|
|
|
= f.label :lfs_enabled, 'Large File Storage'
|
2018-04-24 10:51:39 +00:00
|
|
|
.col-sm-10
|
2018-05-08 15:49:30 +00:00
|
|
|
.form-check
|
2018-05-31 19:20:46 +00:00
|
|
|
= f.check_box :lfs_enabled, checked: @group.lfs_enabled?, class: 'form-check-input'
|
|
|
|
= f.label :lfs_enabled, class: 'form-check-label' do
|
2018-04-24 10:51:39 +00:00
|
|
|
%strong
|
|
|
|
Allow projects within this group to use Git LFS
|
|
|
|
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
|
|
|
|
%br/
|
|
|
|
%span.descr This setting can be overridden in each project.
|
2019-04-05 18:49:46 +00:00
|
|
|
.form-group.row
|
2019-02-03 14:29:34 +00:00
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label s_('ProjectCreationLevel|Allowed to create projects')
|
2019-04-05 18:49:46 +00:00
|
|
|
.col-sm-10
|
|
|
|
= f.select :project_creation_level, options_for_select(::Gitlab::Access.project_creation_options, @group.project_creation_level), {}, class: 'form-control'
|
2017-01-24 21:09:58 +00:00
|
|
|
|
2019-07-01 20:41:32 +00:00
|
|
|
.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-05-24 19:45:07 +00:00
|
|
|
.form-group.row
|
2019-02-03 14:29:34 +00:00
|
|
|
.col-sm-2.col-form-label.pt-0
|
|
|
|
= f.label :require_two_factor_authentication, 'Two-factor authentication'
|
2018-04-24 10:51:39 +00:00
|
|
|
.col-sm-10
|
2018-05-08 15:49:30 +00:00
|
|
|
.form-check
|
2018-05-31 19:20:46 +00:00
|
|
|
= f.check_box :require_two_factor_authentication, class: 'form-check-input'
|
|
|
|
= f.label :require_two_factor_authentication, class: 'form-check-label' do
|
2018-04-24 10:51:39 +00:00
|
|
|
%strong
|
2018-09-17 09:17:33 +00:00
|
|
|
Require all users in this group to set up Two-factor authentication
|
2018-04-24 10:51:39 +00:00
|
|
|
= link_to icon('question-circle'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group')
|
2018-05-24 19:45:07 +00:00
|
|
|
.form-group.row
|
|
|
|
.offset-sm-2.col-sm-10
|
2018-05-08 15:49:30 +00:00
|
|
|
.form-check
|
2018-05-24 19:45:07 +00:00
|
|
|
= f.text_field :two_factor_grace_period, class: 'form-control'
|
2018-05-08 15:49:30 +00:00
|
|
|
.form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication
|