Mercurial > p > roundup > code
diff roundup/templates/classic/html/user.item @ 905:502a5ae11cc5
Very close now. The cgi and mailgw now use the new security API.
The two templates have been migrated to that setup. Lots of unit
tests. Still some issue in the web form for editing Roles assigned to
users.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 26 Jul 2002 08:27:00 +0000 |
| parents | bd6211d39328 |
| children | 7db9e2e0a961 |
line wrap: on
line diff
--- a/roundup/templates/classic/html/user.item Thu Jul 25 07:53:44 2002 +0000 +++ b/roundup/templates/classic/html/user.item Fri Jul 26 08:27:00 2002 +0000 @@ -1,4 +1,4 @@ -<!-- $Id: user.item,v 1.4 2002-07-17 12:39:11 gmcm Exp $--> +<!-- $Id: user.item,v 1.5 2002-07-26 08:27:00 richard Exp $--> <table border=0 cellspacing=0 cellpadding=2> <tr class="strong-header"> @@ -17,6 +17,12 @@ <td width=1% nowrap align=right><span class="form-label">Login Password</span></td> <td class="form-text"><display call="field('password', size=10)"></td> </tr> +<require permission="Web Roles"> + <tr bgcolor="ffffea"> + <td width=1% nowrap align=right><span class="form-label">Roles</span></td> + <td class="form-text"><display call="field('roles', size=10)"></td> + </tr> +</require> <tr bgcolor="ffffea"> <td width=1% nowrap align=right><span class="form-label">Phone</span></td> <td class="form-text"><display call="field('phone', size=40)"></td>
