Page 1 of 1

UserRole disappear if remove it from Security

PostPosted:Fri Nov 25, 2011 6:40 am
by kevinchang
I have a directory named "Public".
I've create another group named "sales".

My aim is to disable all UserRole of seeing "Public", only allowing "sales" group to see Directory "Public".

Therefore, I remove "UserRole" from security setting of "Public", then add "sales" group with Read permission.
However, users with role setting to both "UserRole" and "sales" cannot see Directory "Public". What's more, I cannot find "UserRole" from group setting of "Public" any longer, which means I cannot get a chance to add "UserRole" to security setting of "Public".

My question is how to add UserRole back ? And how to configure the security seting to realize the above security setting.

Re: UserRole disappear if remove it from Security

PostPosted:Fri Nov 25, 2011 7:35 am
by kevinchang
My OpenKM version is :

Version: 5.1.8-SNAPSHOT (build: 7355)

Re: UserRole disappear if remove it from Security

PostPosted:Fri Nov 25, 2011 2:12 pm
by jllort
Yes it's a feature. Really UserRole it's a connection role that must not be propaged across repository. It's only a grant to connect to openkm but not a grant that must be propaged under repository, that's the reason why it don't appearing in avaliable security groups list.

We set by deafult UserRole at okm:root , okm:taxonomy and okm:templates because we considering administrator should change it, and to prevent first time running OpenKM you've got a tedious security problems, but the administrator mission is remove it from this nodes.

Users can have several roles, the idea is mandatory having UserRole ( used to autenticate ) and other to propagate across repository.

Re: UserRole disappear if remove it from Security

PostPosted:Mon Nov 28, 2011 2:52 am
by kevinchang
Hi jllort,

Thank you for your reply, I've got it.