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/Elements | |
parent | 7fe7e453b6eb0778235e0a64e3b654f673d1caa2 (diff) |
add RT ACL for bulk updating tickets, #72964
Diffstat (limited to 'rt/share/html/Elements')
-rwxr-xr-x | rt/share/html/Elements/Tabs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rt/share/html/Elements/Tabs b/rt/share/html/Elements/Tabs index bc2badf4a..30f4908c2 100755 --- a/rt/share/html/Elements/Tabs +++ b/rt/share/html/Elements/Tabs @@ -756,7 +756,10 @@ my $build_main_nav = sub { } if ( $has_query ) { - $current_search_menu->child( bulk => title => loc('Bulk Update'), path => "/Search/Bulk.html$args" ); + #freeside + if ( $session{'CurrentUser'}->HasRight( Right => 'BulkUpdateTickets', Object => RT->System ) ) { + $current_search_menu->child( bulk => title => loc('Bulk Update'), path => "/Search/Bulk.html$args" ); + } $current_search_menu->child( chart => title => loc('Chart'), path => "/Search/Chart.html$args" ); #formerly Callbacks/RTx-Calendar/Ticket/Element/Tabs/Default |