summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-02 17:59:37 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-02 17:59:37 +0100
commit627909c2a4a938c6387afa459ef4dc815fe9fb5a (patch)
treeba6d6b3a7b2617c9dc498846e5c974bf222b180a /app/views/projects/edit.html.haml
parent055afab5c7d33d061d339c270bd258ed847450f3 (diff)
downloadgitlab-ce-627909c2a4a938c6387afa459ef4dc815fe9fb5a.tar.gz
Add CI setting: allow_guest_to_access_builds
Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 8a99aceef7f..e3165caad05 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -157,8 +157,12 @@
%li
phpunit --coverage-text --colors=never (PHP) -
%code ^\s*Lines:\s*\d+.\d+\%
-
-
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :allow_guest_to_access_builds do
+ = f.check_box :allow_guest_to_access_builds
+ Allow guest to access builds (including build logs and artifacts)
%fieldset.features
%legend
Advanced settings