1 | Notes:
|
---|
2 | <ul>
|
---|
3 | <li>Admin users automatically get all other priviledges.
|
---|
4 | <li>Everyone has basic read access.
|
---|
5 | </ul>
|
---|
6 | <hr>Add new user:<form action="admin.cgi" method="POST">
|
---|
7 | <fieldset><legend></legend>
|
---|
8 | Username: <input name=username><br>
|
---|
9 | Password: <input name=password> <input type=checkbox name=preenc>Password is pre-encrypted (MUST be crypt() encrypted)<br>
|
---|
10 | <input type=submit value='Add user'><input type=hidden name=action value=newuser>
|
---|
11 | </fieldset></form>
|
---|
12 |
|
---|
13 | <hr>Users with access:
|
---|
14 |
|
---|
15 | <table border="1">
|
---|
16 | <tr><td></td><td align="center" colspan="3">General access</td></tr>
|
---|
17 | <tr><td>Username</td><td>Add new</td><td>Change</td><td>Delete</td><td>Systems/Networking</td><td>Admin user</td></tr>
|
---|
18 |
|
---|
19 | <TMPL_LOOP name=userlist>
|
---|
20 | <tr>
|
---|
21 | <form action="admin.cgi" method="POST">
|
---|
22 | <fieldset><legend></legend>
|
---|
23 | <input type="hidden" name="action" value="updacl">
|
---|
24 | <td><TMPL_VAR NAME=username><input type="hidden" name="username" value="<TMPL_VAR NAME=username>"></td>
|
---|
25 | <td><input type=checkbox name="add"<TMPL_IF can_add> checked="checked"</TMPL_IF>></td>
|
---|
26 | <td><input type=checkbox name="change"<TMPL_IF can_change> checked="checked"</TMPL_IF>></td>
|
---|
27 | <td><input type=checkbox name="del"<TMPL_IF can_del> checked="checked"</TMPL_IF>></td>
|
---|
28 | <td><input type=checkbox name="sysnet"<TMPL_IF sysnet> checked="checked"</TMPL_IF>></td>
|
---|
29 | <td><input type=checkbox name="admin"<TMPL_IF is_admin> checked="checked"</TMPL_IF>></td>
|
---|
30 | <td><input type=submit value="Update"></td>
|
---|
31 | </fieldset></form>
|
---|
32 | <td>
|
---|
33 | <form action="admin.cgi" method="POST">
|
---|
34 | <fieldset><legend></legend>
|
---|
35 | <input type=hidden name=action value=deluser>
|
---|
36 | <input type=hidden name=username value="<TMPL_VAR NAME=username>">
|
---|
37 | <input type=submit value="Delete user">
|
---|
38 | </fieldset></form>
|
---|
39 | </td>
|
---|
40 | <td><TMPL_VAR NAME=acl></td>
|
---|
41 | </tr>
|
---|
42 | </TMPL_LOOP>
|
---|
43 | </table>
|
---|