summaryrefslogtreecommitdiff
path: root/rt/webrt/Admin/Global/UserRights.html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/webrt/Admin/Global/UserRights.html')
-rwxr-xr-xrt/webrt/Admin/Global/UserRights.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/rt/webrt/Admin/Global/UserRights.html b/rt/webrt/Admin/Global/UserRights.html
new file mode 100755
index 000000000..351f4b8c6
--- /dev/null
+++ b/rt/webrt/Admin/Global/UserRights.html
@@ -0,0 +1,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>