Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Regular role assigned to Non LDAP users also ? - liferay DXP
Hi All,
Regular Roles are assigned to Non LDAP users also.
How to restrict this one?
I Configured Like below:
Instance Settings => LDAP => Default User Associations => Regular Roles
Role Name is: APM
Above Role is assigned successfully when LDAP user logging into portal first time.
but
When Non LDAP users logging into portal those non LDAP users also getting APM role.
I don't want assign APM role to Non LDAP users.
Non LDAP users should not get Regular Roles which are configured in Default User Associations.
How to resolve this issue ?
Can any one help me out.
The configuration you are using there always affects all users, so it is not what you want to use.
Do you import groups? If so, you could give your users a group in Liferay and make the group a member of a role.
Hi Rabel,
Thanks for your reply.
My LDAP servers stores user mebership information only not group
membership infomation.
So I selected Import method is user.
As per your statement, The configuration affects to all users.
SO Is there any way to customize the LDAP import functionality in liferay DXP.
How to add regular role to LDAP users programmatically while importing LDAP users to liferay.
Can you please suggest, How to implement?
Powered by Liferay™