__section__
default
__description__
* acls = hashref of acls, keys = acl names, values = arrayrefs of uids

__title__

__page__
admin
__lang__
en_US
__name__
aclEdit
__template__

[% PROCESS titlebar %]
<div class="generalbody">
	<p>Existing ACLs and users that have their permissions:</p>

	<table cellspacing=2 border=0>
	[% FOREACH acl = acls.keys %]
		<tr>
			<td valign="top">[% acl | strip_nohtml %]</td>
			<td valign="top" align="right">([% acls.$acl.size %])</td>
			<td valign="top">
			[% FOREACH uid = acls.$acl.nsort %]
				<a href="[% gSkin.rootdir %]/users.pl?uid=[% uid | strip_attribute %]">[% uid %]</a>
			[% END %]
			</td>
		</tr>
	[% END %]
	</table>

	<form action="[% env.script_name %]" method="post">
		<fieldset>
			<legend>ACL Editor</legend>
			<input type="hidden" name="op" value="acls">
			<label>Enter name of new ACL category to create:</label>
			<input type="text" name="thisname" value="">
			<input type="submit" name="aclsave" value="Create" class="button">
			<br>(It will be assigned to you, for starters, after which you will
			be able to assign it to other users by editing them in users.pl.
			To delete a category, simply remove it from all users.)
			<br>Recognized ACL categories so far: <tt>candelcomments_always modpoints_always stats</tt>
			<br>Don't name an ACL the same as an AL2 type, or there will be trouble! Current AL2 types: <tt>comment ban expired nopost nopalm norss nosubmit trusted proxy</tt>
			<!-- XXXSRCID The code needs to check getAL2Types() to prevent that error from even being possible -->
		</fieldset>
	</form>
</div>

__seclev__
500
__version__
$Id: aclEdit;admin;default,v 1.8 2005/10/18 19:00:21 jamiemccarthy Exp $
