Page 1 of 1
USER ROLE issues
PostPosted:Mon Aug 13, 2018 10:07 am
by saquib.akhtar
When assigning new role to a user, when the user tries to login back he is not able to login and gets error:
com.openkm.core.RepositoryException: PathNotFoundException: 6630f155-3418-4690-9a07-654fba89a9d7 : /okm:trash
Also if i want to hide some folders under root hierarchy for a role or some user then how it will be done?
Re: USER ROLE issues
PostPosted:Tue Aug 14, 2018 1:44 pm
by jllort
All the users must be members of ROLE_USER or ROLE_ADMIN. These roles are using for getting access to the application and also some specific paths like /okm:trash . I suspect in your case you have removed ROLE_USER.
The idea is a users might be member of
ROLE_USER and other roles ( ROLE_MARKETING, etc... )
I suggest take a look at this video
https://www.youtube.com/watch?v=LdZdsWBljRU
Re: USER ROLE issues
PostPosted:Thu Aug 16, 2018 5:56 am
by saquib.akhtar
Ok, but what if I want some particular user's not to access some folders ?
Re: USER ROLE issues
PostPosted:Fri Aug 17, 2018 2:18 pm
by jllort
Like you set security in windows folders or another system. If user have ROLE_X and ROLE_Y when the folder does not have any of these roles the user will not have access too.
Re: USER ROLE issues
PostPosted:Sun Aug 19, 2018 8:50 am
by saquib.akhtar
Thanks great help
