Question
How do I use the %LDAP{...}% macro with ALLOWWEBVIEW and ALLOWTOPICVIEW? What is the recommended format for getting this to work with access controls? I am able to get it working as far as displaying members for group lists and displaying filtered lists of users with entries like
%LDAP{"(&(objectClass=group)(cn=Domain Admins))" limit="10" header="| Nr | Group | Members |" format="| $index | $cn | $member |" sort="cn"}%
Perhaps I should say
LdapNgPlugin as I am able to do something like
ALLOWWEBVIEW = %LDAP{(&(objectClass=group)(cn=Domain Admins)) format="$member"}%
in order to list users, but they are all shown with the CN= DN= of the member info and that doesn't help ALLOWWEBVIEW do anything.
Environment
--
ErnieOporto - 22 Jun 2007
Sorry, closing this after more than 30 days of inactivity...
--
PeterThoeny - 10 Aug 2007
The
%LDAP{}%
macro is not used to populate ACL lists. Use the LdapContrib to bring in your user accounts and then user their (wiki)name in the ACLs.
--
MichaelDaum - 10 Aug 2007