summaryrefslogtreecommitdiff
path: root/app/views/groups/runners
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-07 08:56:59 +0200
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-07 14:06:29 +0200
commit131ca31b23863226e57e0e3dd2ea78f91573f631 (patch)
treefe129527e0276c517791c43ef84c530ce999eda3 /app/views/groups/runners
parent8f29d9c6eee0e2de827249d07dea644936297630 (diff)
downloadgitlab-ce-131ca31b23863226e57e0e3dd2ea78f91573f631.tar.gz
Add a comment about implementing proper policies for group runner permissions
Diffstat (limited to 'app/views/groups/runners')
-rw-r--r--app/views/groups/runners/_group_runners.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/groups/runners/_group_runners.html.haml b/app/views/groups/runners/_group_runners.html.haml
index d1616b537f9..f0e8735b54e 100644
--- a/app/views/groups/runners/_group_runners.html.haml
+++ b/app/views/groups/runners/_group_runners.html.haml
@@ -4,6 +4,8 @@
GitLab Group Runners can execute code for all the projects in this group.
They can be managed using the #{link_to 'Runners API', help_page_path('api/runners.md')}.
+-# Proper policies should be implemented per
+-# https://gitlab.com/gitlab-org/gitlab-ce/issues/45894
- if can?(current_user, :admin_pipeline, @group)
= render partial: 'ci/runner/how_to_setup_runner',
locals: { registration_token: @group.runners_token, type: 'group' }