X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FBulk.html;h=38b29fe336df389e18b5e630afd3601395a882e5;hp=bacd96c3fcdc6c707a7f8d897ea994238f997e16;hb=7c5f50804027577aac17d0fcefedcd0d0b6ca180;hpb=bcfa8b9c306cc871b5851d7c07ef0759eb1bcb31 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 );