Page 1 of 1

ABOUT ROLE

PostPosted:Tue Nov 12, 2013 2:45 am
by Miesto
Hi Openkm,
In Administration mode, I have apply a new ROLE in ROLE list, then the ROLE setting in USER.
But I can not connect to okm:root database when I login by USER.
Is the limits of authority only setting in Professional mode?
I have attached tranditional chinese version translate database, hope you could shows on official website, thank you.

Re: ABOUT ROLE

PostPosted:Tue Nov 12, 2013 6:28 pm
by michaeled
Hi,

The user have to be in user_role to connect to OpenKM.

Then you can create a folder only accessible by your new role. Only the user who have this role can access to it.

The roles are operationnal in community version

Michael

Re: ABOUT ROLE

PostPosted:Wed Nov 13, 2013 11:52 am
by jllort
1- All users should have ROLE_USER to pass login screen, but this roles should not be propagated to repository
2- All users should have other roles than ROLE_USER for example ROLE_X
3- Users should have read access to okm:root , okm:template, okm:categories ( for example ROLE_X read grant to these nodes )

Hope this will give you some light.

Re: ABOUT ROLE

PostPosted:Mon Nov 18, 2013 3:59 am
by Miesto
May I ask a question that I built a ROLE_TEST in role list, also I creat a ID named TEST in USER LIST. When I setting ROLE_TEST under ROLES, and loging in by TEST, but the system shows "error when communicating with server(getrootfolder) & "OKM-012015(GetCategoriesFolder):Path not exist 12453a-089d-44c5-ad8d-a6b71f6b92c0:/okm:Categories".
Could you help me to explain?

Re: ABOUT ROLE

PostPosted:Wed Nov 20, 2013 5:17 pm
by jllort
I think has not relation with roles. The error is caused by other reason. Basically there's some folder, document etc... what has a category with uuid 12453a-089d-44c5-ad8d-a6b71f6b92c0 and the category has been deleted ( it's a bug solved in source code ).

To solve it go to Administration -> Database query and execute
DELETE FROM OKM_NODE_CATEGORY WHERE NCT_CATEGORY = '12453a-089d-44c5-ad8d-a6b71f6b92c0';

TEll us if it solves the problem