root/yapcasia2008/actdocs/templates/core/user/rights

Revision 2610 (checked in by miyagawa, 12 years ago)

merged test to prod

Line 
1 <div align="center">
2 <form method="POST" action="[% global.request.r.uri %]">
3 <table>
4  <tr>
5    <td>{{Name}}</td>
6    [% FOREACH r = right_list %]
7    <td>[% r %]</td>
8    [% END %]
9  </tr>
10  [% FOREACH u = right %]
11    <tr><td>[% user_info(u.user) %]</td>
12    [% FOREACH r = right_list %]
13     <td><input type="checkbox" name="[% u.user.user_id %]-[% r %]" [% IF u.right.$r %]checked="checked" [% END %]/></td>
14    [% END %]
15    </tr>
16  [% END %]
17    <tr>
18    <td><select name="newuser">
19        <option value="" selected="selected" />
20        [% FOREACH u=users %]
21          <option value="[% u.user_id %]">[[% u.login %]] [% user_info(u) %]</option>
22        [% END %]
23        </select>
24    </td>
25    [% FOREACH r = right_list %]
26     <td><input type="checkbox" name="new-[% r %]" /></td>
27    [% END %]
28
29 </table>
30
31 <input type="submit" name="ok" value="{{Submit}}" />
32
33 </form>
34
35 </div>
36
37 <p>
38  {{The recognised rights are:}}
39 </p>
40 <ul>
41  <li><tt>staff</tt> -
42   {{Organizer}}
43  </li>
44  <li><tt>orga</tt> -
45   {{Organizer (talks management)}}
46  </li>
47  <li><tt>treasurer</tt> -
48   {{Treasurer (payment management)}}
49  </li>
50  <li><tt>admin</tt> -
51   {{Administrator (rights management)}}
52  </li>
53 </ul>
Note: See TracBrowser for help on using the browser.