diff options
| author | Mark Wells <mark@freeside.biz> | 2016-11-27 16:43:19 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-11-27 16:43:19 -0800 |
| commit | 34e42c0d926bf569ceaf8da784c2569bc7f83cec (patch) | |
| tree | 9ad08eca35d56bc00ac3545ff2220d32673adfcd /rt/share/html/Ticket | |
| parent | 7fe7e453b6eb0778235e0a64e3b654f673d1caa2 (diff) | |
add RT ACL for bulk updating tickets, #72964
Diffstat (limited to 'rt/share/html/Ticket')
| -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", |
