Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-01-20 10:16:26 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2015-01-20 10:16:26 +0300
commit46755a7bfec1a35ff7967cf92ed8da3d911d32f0 (patch)
tree407b470595d41bc6ea05e4e8900cd76e5794a391 /app/views
parent2fba31890e922fa8bae61e7aa3f21c5b4314e735 (diff)
Disable 'check all issues' checkbox for unprivileged users.
Diffstat (limited to 'app/views')
-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