Last change
on this file since 97 was 66, checked in by Kris Deugau, 14 years ago |
/trunk
Basic group permissions editing functional - enforcing is trivial
- add group now adds the permissions entry. TBD: permission inheritance
- edit group Does The Right Thing(TM) - either editing the existing entry,
or converting an inherited permission group to a separate one. still
needs to rewrite subgroup and contained user inherited permissions
- the HTML permissions table rows have been moved. edit-user should pick
this up, and will require calling the template explicitly so as to show
both the default and custom permissions.
- the list of individual permissions have been moved to a list in DNSDB.pm
code that refers to this should not assume any given length - this makes
adding new permission types (somewhat) easier
Tweak menu group-tree CSS (again) add some (broken) images
- this should probalby revert to an earlier setup that uses an image
as the <li> bullet point rather than pushing the text to the right,
since many (most?) nodes will usually be leaf nodes
HTML changes not validated
|
File size:
1019 bytes
|
Line | |
---|
1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 |
|
---|
7 | <form action="dns.cgi" method="post">
|
---|
8 | <fieldset>
|
---|
9 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
10 | <input type="hidden" name="page" value="edgroup" />
|
---|
11 | <input type="hidden" name="action" value="updperms" />
|
---|
12 | <input type="hidden" name="gid" value="<TMPL_VAR NAME=gid>" />
|
---|
13 |
|
---|
14 | <table class="border" border="0" cellspacing="5" cellpadding="0">
|
---|
15 | <TMPL_IF errmsg><tr>
|
---|
16 | <td class="errhead" colspan="4">Error updating group <TMPL_VAR NAME=grpmeddle>: <TMPL_VAR NAME=errmsg></td>
|
---|
17 | </tr></TMPL_IF>
|
---|
18 | <tr>
|
---|
19 | <th align="center" colspan="5">Default permissions for group <TMPL_VAR NAME=grpmeddle></th>
|
---|
20 | </tr>
|
---|
21 | <tr>
|
---|
22 | <td align="center" colspan="5" class="border">By default, users of this group will inherit the following privileges:</td>
|
---|
23 | </tr>
|
---|
24 | <TMPL_INCLUDE name="permlist.tmpl">
|
---|
25 | <tr>
|
---|
26 | <td colspan="6" align="center"><input type="submit" value="edit" /></td>
|
---|
27 | </tr>
|
---|
28 | </table>
|
---|
29 |
|
---|
30 | </fieldset>
|
---|
31 | </form>
|
---|
32 |
|
---|
33 | </td>
|
---|
34 | </tr>
|
---|
35 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.