<& /Admin/Elements/Header, Title => 'Modify System ACLS' &> <& /Elements/ListActions, actions => \@results &>

Modify ACLS for system

Users

Groups

% while (my $UserObj = $Users->Next()) { % }
<% $UserObj->UserId %> <& /Admin/Elements/SelectRights, PrincipalObj => $UserObj, PrincipalType => 'User', Scope => 'System' &>
% while (my $GroupObj = $Groups->Next()) { % }
<% $GroupObj->Name %> <& /Admin/Elements/SelectRights, PrincipalObj => $GroupObj, PrincipalType => 'Group', Scope => 'System' &>

Be careful to hold down your control or apple key when selecting rights, to make sure that you don't remove rights that were granted previously.

<& /Elements/Submit, Caption => "Be sure to save your changes", Reset => 1 &>
<%INIT> #Update the acls. my @results = ProcessACLChanges(\@CheckACL, \%ARGS); # {{{ do basic initialization. # Find out which users we want to display ACL selects for my $Users = new RT::Users($session{'CurrentUser'}); # $Users->LimitToPrivileged(); $Users->UnLimit(); # Find out which groups we want to display ACL selects for. my $Groups = new RT::Groups($session{'CurrentUser'}); #TODO: limit this to non-pseudogroups $Groups->UnLimit(); # }}} <%ARGS> @CheckACL => undef