<& /Elements/ListActions, actions => \@results &> <& /Admin/Tools/RightsMatrix/Elements/CustomFieldRightsMatrix, ObjectType => 'RT::Queue', LookupType => 'RT::Queue-RT::Ticket', ObjectRights => \%q_rights, PrincipalObj => $principal, %ARGS &>

Queue Key:

For a queue the possible permissions are: % foreach (keys %q_rights) { % }
<%$_%><%$q_rights{$_}{RIGHT}%><%$q_rights{$_}{DESC}%>

<%INIT> my @results; my ($principal, $msg) = RTx::RightsMatrix::Util::get_principal( Principal => $ARGS{Principal}, User => $ARGS{User}, CurrentUser => $session{CurrentUser} ); unless (ref $principal) { $m->comp("/Elements/Error", Why => loc($msg)); $m->abort; } <%ARGS> $User => undef $Edit => 0 $Principal => 0 $Intersect => 0 <%ONCE> use RTx::RightsMatrix::Util; my %q_rights = ( 'q' => { RIGHT => 'SeeQueue', DESC =>'Can see that queue' }, 'r' => { RIGHT => 'ShowTicket', DESC =>'Can see tickets in that queue' }, 'w' => { RIGHT => 'ModifyTicket', DESC =>'Can edit/modify tickets in that queue' }, 'c' => { RIGHT => 'CreateTicket', DESC =>'Can create tickets in that queue' }, 'd' => { RIGHT => 'DeleteTicket', DESC =>'Can delete tickets in that queue' }, );