diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-12-06 16:15:42 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-12-06 16:15:42 -0800 |
| commit | ecd038f7ae5c1ffc929f3c928ecd161eeb45d9be (patch) | |
| tree | 447a3c6b5c23bff660a97a57ebe27b672f408aa0 /rt/share/html/Search | |
| parent | 606df68b2e1c2ee977aba90f3d738237dc23a61c (diff) | |
| parent | 319dfa0901a8bc9897e700390d3e97128d155819 (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/share/html/Search')
| -rwxr-xr-x | rt/share/html/Search/Bulk.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rt/share/html/Search/Bulk.html b/rt/share/html/Search/Bulk.html index bacd96c3f..38b29fe33 100755 --- a/rt/share/html/Search/Bulk.html +++ b/rt/share/html/Search/Bulk.html @@ -203,6 +203,13 @@ unless ( defined $Rows ) { } my $title = loc("Update multiple tickets"); +#freeside +unless ( $session{'CurrentUser'} + ->HasRight( Right => 'BulkUpdateTickets', Object => RT->System) ) +{ + Abort('You are not allowed to bulk-update tickets.'); +} + # Iterate through the ARGS hash and remove anything with a null value. map ( $ARGS{$_} =~ /^$/ && ( delete $ARGS{$_} ), keys %ARGS ); |
