diff options
Diffstat (limited to 'app/views/groups/runners/_group_runners.html.haml')
-rw-r--r-- | app/views/groups/runners/_group_runners.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/runners/_group_runners.html.haml b/app/views/groups/runners/_group_runners.html.haml index 1cccce9f59a..e7cfc87ac88 100644 --- a/app/views/groups/runners/_group_runners.html.haml +++ b/app/views/groups/runners/_group_runners.html.haml @@ -10,7 +10,7 @@ = _('These runners are shared across projects in this group.') = _('Group runners can be managed with the %{link}.').html_safe % { link: link } - - if can?(current_user, :admin_pipeline, @group) && valid_runner_registrars.include?('group') + - if can?(current_user, :register_group_runners, @group) - if params[:ci_runner_templates] %hr = render partial: 'ci/runner/setup_runner_in_aws', |