projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add RT ACL for bulk updating tickets, #72964
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Bulk.html
diff --git
a/rt/share/html/Search/Bulk.html
b/rt/share/html/Search/Bulk.html
index
bacd96c
..
38b29fe
100755
(executable)
--- 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");
}
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 );
# Iterate through the ARGS hash and remove anything with a null value.
map ( $ARGS{$_} =~ /^$/ && ( delete $ARGS{$_} ), keys %ARGS );