Page 1 of 1

prevent creating folder and file under okm:root directory

PostPosted:Wed Aug 08, 2012 3:36 am
by taihung
After installing OpenKM, I found any users can create folders and files under okm:root directory.
I've tried to change UserRole permission to read only under okm:root, and even tried to remove it.
But it seems that I cannot change UserRole's permission under okm:root.

Is it possible to deny any users but administrator creating folder and file under okm:root directory?
Thanks.

Re: prevent creating folder and file under okm:root director

PostPosted:Wed Aug 08, 2012 7:38 am
by jllort
Obviously by roles, the idea is remove UserRole and change to other roles ( users can have one or more roles ) and give them only read accessing revoking others.

Re: prevent creating folder and file under okm:root director

PostPosted:Wed Aug 08, 2012 1:38 pm
by michaeled
If it's not possible to remove the UserRole, try to remove it from Administration => repository view => okm:root => remove UserRole from okm:authRolesWrite

Re: prevent creating folder and file under okm:root director

PostPosted:Wed Aug 08, 2012 3:59 pm
by shaardu
No, you have to remove security of userrole and not from database!!!

Re: prevent creating folder and file under okm:root director

PostPosted:Thu Aug 09, 2012 1:42 am
by taihung
I've tried adding another role AAA, let user A only belong to this role.
Set role AAA read only in okm:root directory.
The result still the same, user A can create file and folder.
Even worse, I cannot delete role AAA from okm:root's security setting.

I followed michaeled's suggestion, and successfully removed UserRole's privilege to create file and folder under okm:root.
Thanks.

Re: prevent creating folder and file under okm:root director

PostPosted:Sat Aug 11, 2012 3:35 pm
by jllort
I do not understanding why you can not delete with okmAdmin user the role AAA from okm:root's security ? which is the problem ?