blob: 351f4b8c60cc28aa82ae78eb92b362d77ffbc210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<& /Admin/Elements/Header, Title => 'Modify System ACLS' &>
<& /Admin/Elements/SystemTabs &>
<& /Elements/ListActions, actions => \@results &>
<FORM METHOD=POST action="UserRights.html">
<h2>Modify global rights for users</h2>
<TABLE>
% while (my $UserObj = $Users->Next()) {
<TR ALIGN=RIGHT>
<TD VALIGN=TOP>
<A HREF="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$UserObj->id%>"><% $UserObj->Name %></A>
</TD>
<TD>
<& /Admin/Elements/SelectRights, PrincipalObj => $UserObj,
PrincipalType => 'User',
Scope => 'System' &>
</TD>
</TR>
% }
</TABLE>
<& /Elements/Submit, Caption => "Be sure to save your changes", Reset => 1 &>
</FORM>
<%INIT>
my @results = ProcessACLChanges(\@CheckACL, \%ARGS);
# Find out which users we want to display ACL selects for
my $Users = new RT::Users($session{'CurrentUser'});
$Users->LimitToPrivileged();
</%INIT>
<%ARGS>
@CheckACL => undef
</%ARGS>
|