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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-22 09:35:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-22 09:35:09 +0300
commit111d95f7b0a31373f080ceb42bed618d92000d58 (patch)
treeee81c4092379cac951383e3dc91fc0bbc50712d9 /app/views
parent2ac03a86616bf9246593fb5bf2d82a6e262db16b (diff)
parent46755a7bfec1a35ff7967cf92ed8da3d911d32f0 (diff)
Merge pull request #8614 from axilleas/disable_check_all_issues_for_unprivileged_users
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