• PathNotFoundException /okm:trash

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42163  by qq95788
 
Hello,
I use OpenKM Version: 6.3.1 (build: 8235),It has an error "PathNotFoundException /okm:trash"when I login.
I found /okm:trash can't set permissions.If I add new role, it can't create folder in /okm:trash.
How to manually set this permissions?

Thank you
 #42164  by jllort
 
Does your user have ROLE_USER ? otherwise the application is not able to create the missing folders.
Are you login with default UI ? or from webservices ?
 #42169  by qq95788
 
Thank you for your respond.
If the user use ROLE_USER,It doesn't have error.
If the user use the new role,the error is displayed.
In the path of /okm:trash,I can't add the new role to access.the button is hide.
 #42170  by jllort
 
Understood. Alls users must have ROLE_USER or ROLE_ADMIN ( at least one of these two roles, these are special roles used for getting connection to the repository ). The idea is a user must have ROLE_USER and for example other roles like ROLE_X. Because all users must have ROLE_USER for connecting to the application, this role should not be propagated across the repositorio ( at okm:root or below, the first action of the administrator is remove it from okm:root and optionally from okm:categories and okm:templates, in the other nodes is right and should not be removed ). And then set read grant - for example - for main nodes, for ROLE_X etc...

About ROLE_ADMIN role, this has two functions, first one grant login access and second promote user to super user ( that means has not any security restriction, is like security does not exists for himself ).

Hope with it, the way of setting security will be more clear to you.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.