diff options
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r-- | app/policies/group_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb index 674d1ddb18b..d9aa204399e 100644 --- a/app/policies/group_policy.rb +++ b/app/policies/group_policy.rb @@ -84,7 +84,7 @@ class GroupPolicy < Namespaces::GroupProjectNamespaceSharedPolicy condition(:crm_enabled, score: 0, scope: :subject) { @subject.crm_enabled? } condition(:group_runner_registration_allowed, scope: :global) do - Feature.disabled?(:runner_registration_control) || Gitlab::CurrentSettings.valid_runner_registrars.include?('group') + Gitlab::CurrentSettings.valid_runner_registrars.include?('group') end condition(:runners_finder_all_available, scope: :subject) do |