summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-01-20 09:16:26 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2015-01-20 09:16:26 +0200
commit46755a7bfec1a35ff7967cf92ed8da3d911d32f0 (patch)
tree407b470595d41bc6ea05e4e8900cd76e5794a391 /app
parent2fba31890e922fa8bae61e7aa3f21c5b4314e735 (diff)
downloadgitlab-ce-46755a7bfec1a35ff7967cf92ed8da3d911d32f0.tar.gz
Disable 'check all issues' checkbox for unprivileged users.
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/issues/_issues.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml
index 010ca3b68b3..816851a8abe 100644
--- a/app/views/projects/issues/_issues.html.haml
+++ b/app/views/projects/issues/_issues.html.haml
@@ -1,6 +1,6 @@
.append-bottom-10
.check-all-holder
- = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left"
+ = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left", disabled: !can?(current_user, :modify_issue, @project)
= render 'shared/issuable_filter'
.clearfix