diff --git a/share/html/Elements/QueueList b/share/html/Elements/QueueList index d614ab9e5ed..ac95231fe05 100644 --- a/share/html/Elements/QueueList +++ b/share/html/Elements/QueueList @@ -62,7 +62,7 @@ my $unwanted = $session{'CurrentUser'}->UserObj->Preferences('QueueList', {}); my $comp = $SplitByLifecycle? '/Elements/QueueSummaryByLifecycle' : '/Elements/QueueSummaryByStatus'; my $cache_key = SetObjectSessionCache( ObjectType => 'RT::Queue', - CheckRight => 'ShowTicket', + CheckRight => 'SeeQueue', ShowAll => 0, CacheNeedsUpdate => RT->System->QueueCacheNeedsUpdate, Exclude => $unwanted, diff --git a/share/html/Elements/QueueSummaryByLifecycle b/share/html/Elements/QueueSummaryByLifecycle index 2dd3587440b..3f5ed27a3a7 100644 --- a/share/html/Elements/QueueSummaryByLifecycle +++ b/share/html/Elements/QueueSummaryByLifecycle @@ -131,7 +131,7 @@ my $data = {}; my $statuses = {}; use RT::Report::Tickets; -my $report = RT::Report::Tickets->new( RT->SystemUser ); +my $report = RT::Report::Tickets->new( $session{'CurrentUser'} ); my $query = "(Status = '__Active__') AND (". join(' OR ', map "Queue = ".$_->{Id}, @$queues) diff --git a/share/html/Prefs/QueueList.html b/share/html/Prefs/QueueList.html index c8defe94a2d..59fa64f404f 100644 --- a/share/html/Prefs/QueueList.html +++ b/share/html/Prefs/QueueList.html @@ -82,7 +82,7 @@

<&|/l&>Select queues to be displayed on the "RT at a glance" page

my $Queues = RT::Queues->new($session{'CurrentUser'}); $Queues->UnLimit; -my $right = 'ShowTicket'; +my $right = 'SeeQueue'; $m->callback( CallbackName => 'ModifyQueues', Queues => \$Queues,