[Rt-commit] rt branch, 4.4/update-queue-hidden, repushed
Craig Kaiser
craig at bestpractical.com
Wed Feb 7 09:44:03 EST 2018
The branch 4.4/update-queue-hidden was deleted and repushed:
was 03782b673c293005841e8c765b7c2aab178e65b2
now d33f67c3b84590b4cb60f931cd32e356d6dd6a91
1: 3f4bab539 ! 1: 18f496ee2 Hide Queue if Requestor does not have right to see
@@ -16,11 +16,13 @@
};
}
}
-+ unless ($session{CurrentUser}->HasRight( Object => $object, Right => 'SeeQueue' )) {
-+ push @{$session{$cache_key}{objects}}, {
-+ Id => undef,
-+ Name => 'Hidden Queue',
-+ };
++ if ( ref($object) eq 'RT::Queue' ) {
++ unless ($session{CurrentUser}->HasRight( Object => $object, Right => 'SeeQueue' )) {
++ push @{$session{$cache_key}{objects}}, {
++ Id => undef,
++ Name => 'Hidden Queue',
++ };
++ }
+ }
}
2: 03782b673 ! 2: d33f67c3b Add Queue update option for Ticket update page
@@ -1,6 +1,6 @@
Author: Craig Kaiser <craig at bestpractical.com>
- Allow Ticket Queue change on Update page
+ Add Queue update option for Ticket update page
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
--- a/share/html/Ticket/Update.html
More information about the rt-commit
mailing list