X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fwebrt%2FAdmin%2FGlobal%2FGroupRights.html;fp=rt%2Fwebrt%2FAdmin%2FGlobal%2FGroupRights.html;h=26b7e1fe21b4a2199423621ba4843919951667c0;hb=3ef62a0570055da710328937e7f65dbb2c027c62;hp=0000000000000000000000000000000000000000;hpb=030438c9cb1c12ccb79130979ef0922097b4311a;p=freeside.git diff --git a/rt/webrt/Admin/Global/GroupRights.html b/rt/webrt/Admin/Global/GroupRights.html new file mode 100755 index 000000000..26b7e1fe2 --- /dev/null +++ b/rt/webrt/Admin/Global/GroupRights.html @@ -0,0 +1,78 @@ +<& /Admin/Elements/Header, Title => 'Modify System ACLS' &> +<& /Admin/Elements/SystemTabs &> + +<& /Elements/ListActions, actions => \@results &> +
+ + + +

Modify global rights for groups

+ + + +% while (my $GroupObj = $PseudoGroups->Next()) { + + + + + + +% } + + + +% while (my $GroupObj = $Groups->Next()) { + + + + + + +% } + +
Pseudogroups
+ <% $GroupObj->Name %> + + <& /Admin/Elements/SelectRights, PrincipalObj => $GroupObj, + PrincipalType => 'Group', + Scope => 'System' &> +
Groups
+ <% $GroupObj->Name %> + + <& /Admin/Elements/SelectRights, PrincipalObj => $GroupObj, + PrincipalType => 'Group', + Scope => 'System' &> +
+ <& /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 groups we want to display ACL selects for. + my $Groups = new RT::Groups($session{'CurrentUser'}); + #TODO: limit this to non-pseudogroups + $Groups->LimitToReal(); + + + my $PseudoGroups = new RT::Groups($session{'CurrentUser'}); + #TODO: limit this to non-pseudogroups + $PseudoGroups->LimitToPseudo; + + # }}} + + + + + + +<%ARGS> +@CheckACL => undef +