I have setup LDAP authentication with liferay in my application. I have kept LDAP enabled and required as true. This way only users with LDAP account would be able to login to portal.
ldap.auth.enabled=true
ldap.auth.required=true
Now I have requirement to create a local liferay group having certain users from LDAP (belonging to my team). After LDAP authentication, this group would be checked if the user logging in is part of this group then only authentication would be allowed.
So basically I need two groups:
- Team group (containing subset of LDAP)
- Admin group (Subset of team and will be able to add/remove from team group)
I need help on achieving this. The issue is, as my LDAP account do not have admin rights once I login to liferay, I do not see any administration options, and won't be able to create group.
Is there anyway I can map some of the LDAP accounts to admin accounts and how do I achieve this in production without doing required flag as false?
Thanks in advance!