Make it possible to have multiple, logically-ORed LDAP recursion filters in

LDAP links and groups.
This commit is contained in:
Drake 2006-10-10 22:31:11 +00:00
parent f1b62f54d0
commit 950c1e2306
5 changed files with 33 additions and 12 deletions

View file

@ -392,7 +392,7 @@ sub www_editGroup {
-hoverHelp=>$i18n->get("LDAPLink_ldapRecursiveProperty","AuthLDAP"),
-value=>$g->ldapRecursiveProperty
);
$f->text(
$f->textarea(
-name=>"ldapRecursiveFilter",
-label=>$i18n->get("LDAPLink_ldapRecursiveFilter","AuthLDAP"),
-hoverHelp=>$i18n->get("LDAPLink_ldapRecursiveFilterDescription","AuthLDAP"),
@ -433,7 +433,7 @@ sub www_editGroupSave {
$g->ldapGroup($session->form->text("ldapGroup"));
$g->ldapGroupProperty($session->form->text("ldapGroupProperty"));
$g->ldapRecursiveProperty($session->form->text("ldapRecursiveProperty"));
$g->ldapRecursiveFilter($session->form->text("ldapRecursiveFilter"));
$g->ldapRecursiveFilter($session->form->process("ldapRecursiveFilter"));
return www_listGroups($session);
}

View file

@ -251,7 +251,7 @@ sub www_editLDAPLink {
-hoverHelp => $i18n->get('8 description'),
-value => $db{ldapPasswordName},
);
$f->text(
$f->textarea(
-name => "ldapGlobalRecursiveFilter",
-label => $i18n->get("global recursive filter label"),
-hoverHelp => $i18n->get("global recursive filter label description"),