ABOUT ROLE

Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.

Moderator: dedisoft

Forum rules
Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
Post Reply
Miesto
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Tue Nov 12, 2013 2:28 am

ABOUT ROLE

Post by Miesto » Tue Nov 12, 2013 2:45 am

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.

michaeled
Expert Boarder
Expert Boarder
Posts: 101
Joined: Mon Apr 23, 2012 9:37 am

Re: ABOUT ROLE

Post by michaeled » Tue Nov 12, 2013 6:28 pm

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

jllort
Moderator
Moderator
Posts: 9380
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: ABOUT ROLE

Post by jllort » Wed Nov 13, 2013 11:52 am

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.

Miesto
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Tue Nov 12, 2013 2:28 am

Re: ABOUT ROLE

Post by Miesto » Mon Nov 18, 2013 3:59 am

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?

jllort
Moderator
Moderator
Posts: 9380
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: ABOUT ROLE

Post by jllort » Wed Nov 20, 2013 5:17 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest