Page 1 of 1

LDAP Role Security

PostPosted:Wed Jun 12, 2019 9:54 am
by samjenkins00
Hi All,

Apologies if this is answered elsewhere but I've not been able to find anything conclusive yet (after a few days of reading and experimenting).

I've implemented LDAP to our AD. I've created a ROLE_USER and ROLE_ADMIN group, and assigned these to users. Login and authentication works as expected.

Each user has a number of additional Role memberships from AD, eg (Engineering, Sales, Support, Finance etc). I can see these roles against each user in OpenKM, I can filter users based on roles, and i can assign roles to the Security panel for folders in Taxonomy - so i'm fairly confident the rols have been imported and linked correctly.

My issue is that the Taxonomy security seems to be ignoring all roles except ROLE_USER. A few examples:
  • okm:root has ROLE_USER & Engineering. If i configure ROLE_USER as read-only, and Engineering as full access, my user only gets read access even though they are part of the Engineering Role.
  • If create a folder under root with only the Engineering role applied (and remove ROLE_USER), my user cannot see or access the folder even though they are part of the Engineering Role
Any ideas?

Thanks,
Sam

Re: LDAP Role Security

PostPosted:Sat Jun 15, 2019 6:40 pm
by jllort
1- Ensure your user really has the role ( check from administration).
2- Share login OpenKM.xml here ( comment the sections like password or private )

Re: LDAP Role Security

PostPosted:Tue Jun 18, 2019 9:11 am
by samjenkins00
Thanks, all working now. It was a silly (but critical) mistake in the one of the LDAP configuration parameters.

I was using a page refresh (by clicking hte URL and pressing enter) to reload the page and validate that things were working.

It was only after exiting (logging out) and re-entering credentials that i was unable to log in, which highlighted that one of my parameters was wrong.