mod_shared_roster_ldap only if user is in roster

Hello,
I've successfully integrated my openldap server with mod_shared_roster_ldap.
Now all people can see all groups. Which is not ideal because there are a lot of groups and only some of them are interesting to a user.

My question is if it's possible to hide a group if the user is not in this group?

My idea:
If I can get the user that is requesting the roster I can implement this simply in my LDAP query. Is there a variable for that?

ACLs are not an option because there not supported with LDAP.

Best regards,
THS

Syndicate content