summaryrefslogtreecommitdiffstats
path: root/dtml/addLDAPRoleExtender.dtml
diff options
context:
space:
mode:
Diffstat (limited to 'dtml/addLDAPRoleExtender.dtml')
-rw-r--r--dtml/addLDAPRoleExtender.dtml97
1 files changed, 97 insertions, 0 deletions
diff --git a/dtml/addLDAPRoleExtender.dtml b/dtml/addLDAPRoleExtender.dtml
new file mode 100644
index 0000000..03cd0a9
--- /dev/null
+++ b/dtml/addLDAPRoleExtender.dtml
@@ -0,0 +1,97 @@
+<dtml-var manage_page_header>
+
+<dtml-var "manage_form_title(this(), _,
+ form_title='Add LDAP Role Extender',
+ help_product='LDAPRoleExtender',
+ help_topic='Add.stx'
+ )">
+
+<p class="form-help">
+ Add a new LDAPRoleExtender with this form.
+</p>
+
+<dtml-let lufs="superValues( [ 'LDAPUserFolder' ] )">
+ <dtml-if lufs>
+
+ <form action="manage_addLDAPRoleExtender" method="POST">
+ <table cellspacing="0" cellpadding="3">
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-optional">
+ Title
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <input type="text" name="title" size="40" />
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-label">
+ LDAP User Folder
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <select name="luf">
+ <dtml-in lufs>
+ <dtml-let luf_path="_.string.join( getPhysicalPath(), '/' )">
+ <option value="&dtml-luf_path;">
+ &dtml-luf_path; (&dtml-meta_type;)
+ </option>
+ </dtml-let>
+ </dtml-in>
+ </select>
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-label">
+ Groups Base DN
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <input type="text" name="groups_base" size="40" />
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-optional">
+ Groups search scope *
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <select name="groups_scope:int">
+ <option value="0"> BASE </option>
+ <option value="1"> ONELEVEL </option>
+ <option value="2" selected> SUBTREE </option>
+ </select>
+ </div></td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <br />
+ <input type="SUBMIT" value=" Add ">
+ </td>
+ </tr>
+
+ </table>
+ </form>
+
+ <ul>
+ <li>
+ BASE: Search only the current object itself
+ </li>
+ <li>
+ ONELEVEL: Search only the object's immediate children
+ </li>
+ <li>
+ SUBTREE: Search the current object and all of its descendants
+ </li>
+ </ul>
+
+ <dtml-else>
+ <p><b>No LDAP User Folder objects in sight. You cannot create a LDAPRoleExtender here.</b></p>
+
+ </dtml-if>
+</dtml-let>
+
+<dtml-var manage_page_footer>
+