2022-07-23 23:45:48 +05:30
|
|
|
- if group.root? && Feature.enabled?(:group_level_git_protocol_control, group)
|
|
|
|
.form-group
|
2023-03-04 22:38:38 +05:30
|
|
|
= f.label _('Enabled Git access protocols'), class: 'label-bold'
|
2022-07-23 23:45:48 +05:30
|
|
|
= f.select :enabled_git_access_protocol, options_for_select(enabled_git_access_protocol_options_for_group, group.enabled_git_access_protocol), {}, class: 'form-control', data: { qa_selector: 'enabled_git_access_protocol_dropdown' }, disabled: !::Gitlab::CurrentSettings.enabled_git_access_protocol.blank?
|
|
|
|
- if !::Gitlab::CurrentSettings.enabled_git_access_protocol.blank?
|
|
|
|
.form-text.text-muted
|
|
|
|
= _("This setting has been configured at the instance level and cannot be overridden per group")
|