1 <dtml-var manage_page_header>
3 <dtml-with "_(management_view='Groups')">
8 This view shows all available groups at the specified branch
9 and allows deletion and addition.
12 <dtml-in expr="getGroups()">
14 <dtml-if name="sequence-start">
15 <form action="&dtml-URL1;" method="post">
16 <table border="0" cellpadding="2" cellspacing="0" width="95%">
17 <tr class="list-header">
18 <td align="left" valign="top" width="16"> </td>
19 <td><div class="form-label"> Friendly Name </div></td>
20 <td><div class="form-label"> Object Class </div></td>
21 <td><div class="form-label"> Distinguished Name </div></td>
25 <dtml-if sequence-odd>
26 <tr class="row-normal">
28 <tr class="row-hilite">
30 <td align="left" valign="top" width="16">
31 <input type="checkbox" name="dns:list" value="&dtml-sequence-item;" />
33 <td><div class="form-text">
34 <dtml-var name="sequence-key">
36 <td><div class="form-text">
37 <dtml-var expr="getGroupType( _['sequence-item'] )">
39 <td><div class="form-text">
40 <dtml-var name="sequence-item" size="60" etc="...">
44 <dtml-if name="sequence-end">
46 <td align="left" valign="top" width="16"> </td>
47 <td align="left" valign="top" colspan="2"><div class="form-element">
48 <input class="form-element" type="submit"
49 name="manage_deleteGroups:method"
59 <div class="form-label">
61 Please check the settings "Group base DN" and "Groups search scope"
62 and make sure your LDAP tree contains suitable group records.
69 <form action="manage_addGroup" method="post">
71 <table cellspacing="0" cellpadding="2" width="95%">
73 <tr class="section-bar">
74 <td colspan="2" align="left" valign="top"><div class="form-label">
80 <td colspan="2" align="left" valign="top"><div class="form-text">
81 Add a new group on this LDAP branch by specifying a group name
83 The name is a "friendly" name, meaning it
84 is not a dn or does not contain any LDAP-sepecific elements.
88 <tr><td colspan="2"> </td></tr><tr>
89 <td align="left" valign="absmiddle"><div class="form-label">
92 <td align="LEFT" valign="TOP">
93 <input type="TEXT" name="newgroup_name" size="50"
94 value="MyGroup" />
99 <td align="left" valign="absmiddle"><div class="form-label">
102 <td align="LEFT" valign="TOP">
103 <select name="newgroup_type">
104 <option value="groupOfUniqueNames"> groupOfUniqueNames </option>
105 <option value="groupOfNames"> groupOfNames </option>
106 <option value="accessGroup"> accessGroup </option>
107 <option value="group"> group </option>
113 <td align="left" valign="top" colspan="2">
114 <input class="form-element" type="SUBMIT" value=" Add " />
124 <table cellspacing="0" cellpadding="2" width="95%">
126 <td align="left" valign="top"><div class="form-text">
127 This section determines if LDAP groups are mapped to Zope roles
128 and what they map to.
135 <dtml-in getGroupMappings>
137 <dtml-if name="sequence-start">
138 <form action="&dtml-URL1;" method="post">
139 <table border="0" cellpadding="2" cellspacing="0" width="95%">
140 <tr class="list-header">
141 <td align="left" valign="top" width="16"> </td>
142 <td><div class="form-label"> LDAP Group </div></td>
143 <td><div class="form-label"> Zope Role </div></td>
147 <dtml-if sequence-odd>
148 <tr class="row-normal">
150 <tr class="row-hilite">
152 <td align="left" valign="top" width="16">
153 <input type="checkbox" name="group_names:list" value="&dtml-sequence-key;" />
155 <td><div class="form-text"> &dtml-sequence-key; </div></td>
156 <td><div class="form-text"> &dtml-sequence-item; </div></td>
159 <dtml-if name="sequence-end">
161 <td align="left" valign="top" width="16"> </td>
162 <td align="left" valign="top" colspan="2"><div class="form-element">
163 <input class="form-element" type="submit"
164 name="manage_deleteGroupMappings:method"
172 <p>(No group mappings specified at this time.)</p>
178 <form action="&dtml-URL1;" method="post">
180 <table cellspacing="0" cellpadding="2" width="95%">
182 <tr class="section-bar">
183 <td colspan="4" align="left" valign="top"><div class="form-label">
184 Add LDAP group to Zope role mapping
189 <td align="left" valign="absmiddle"><div class="form-label">
190 Map this LDAP Group...
192 <td align="LEFT" valign="TOP">
193 <select name="group_name">
194 <dtml-in getGroups sort>
195 <option>&dtml-sequence-key;</option>
199 <td align="left" valign="absmiddle"><div class="form-label">
200 ... to this Zope Role
202 <td align="LEFT" valign="TOP">
203 <select name="role_name">
204 <dtml-in expr="_.reorder( valid_roles()
205 , without=( 'Anonymous', 'Authenticated', 'Owner' )
207 <option>&dtml-sequence-item;</option>
214 <td align="left" valign="top" colspan="4">
215 <input class="form-element" type="SUBMIT" value=" Add "
216 name="manage_addGroupMapping:method">
224 <dtml-var manage_page_footer>