Disable 'check all issues' checkbox for unprivileged users.
This commit is contained in:
parent
2fba31890e
commit
46755a7bfe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue