diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-27 16:43:19 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-27 21:14:25 -0800 |
commit | 7c5f50804027577aac17d0fcefedcd0d0b6ca180 (patch) | |
tree | 68273b26685ca221d44ef95511ded74ecc589e6e /rt/share/html/Ticket/Elements/Tabs | |
parent | bcfa8b9c306cc871b5851d7c07ef0759eb1bcb31 (diff) |
add RT ACL for bulk updating tickets, #72964
Conflicts:
rt/lib/RT/System.pm
Diffstat (limited to 'rt/share/html/Ticket/Elements/Tabs')
-rwxr-xr-x | rt/share/html/Ticket/Elements/Tabs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/rt/share/html/Ticket/Elements/Tabs b/rt/share/html/Ticket/Elements/Tabs index 2f89dc61c..bcc97e52a 100755 --- a/rt/share/html/Ticket/Elements/Tabs +++ b/rt/share/html/Ticket/Elements/Tabs @@ -326,10 +326,15 @@ if ($has_query) { title => loc('Show Results'), }; - $tabs->{"j"} = { - path => "Search/Bulk.html$args", - title => loc('Bulk Update'), - }; + #freeside + if ( $session{'CurrentUser'} + ->HasRight(Right => 'BulkUpdateTickets', Object => $RT::System) ) + { + $tabs->{"j"} = { + path => "Search/Bulk.html$args", + title => loc('Bulk Update'), + }; + } $tabs->{"k"} = { path => "Search/Chart.html$args", |