Hi,
I am using different groups then default "ROLE_USER" and "ROLE_ADMIN": say "TOOLS_USER" and "TOOLS_ADMIN".
I have taken following steps:
* Created new groups say: "TOOLS_USER" and "TOOLS_ADMIN".
* Created new users and assigned them "TOOLS_USER" and "TOOLS_ADMIN" groups accordingly.
* Changed the "default.admin.role" and "default.user.role" from admin panel.
* Changed following values in "applicationContext.xml" file.
but, when I try to login as a user (with new TOOLS_USER group) I got following error:
I tried changing group permission for all the folders from "ROLE_USER" to "TOOLS_USER".
I could change permission for all the folders like "Taxonomy - okm:root", "Categories - okm:categories" etc but there is no option to change the permission on "Trash - okm:trash" folder.
Could you please help me to change the permission of Trash folder?
I am pretty sure that after this change everything will work.
Regards,
Adi
I am using different groups then default "ROLE_USER" and "ROLE_ADMIN": say "TOOLS_USER" and "TOOLS_ADMIN".
I have taken following steps:
* Created new groups say: "TOOLS_USER" and "TOOLS_ADMIN".
* Created new users and assigned them "TOOLS_USER" and "TOOLS_ADMIN" groups accordingly.
* Changed the "default.admin.role" and "default.user.role" from admin panel.
* Changed following values in "applicationContext.xml" file.
Code: Select all
After all the changes I was able to login as new admin user (with new admin group) everything was fine.<beans:property name="rolePrefix" value="ROLE_"/>
to
<beans:property name="rolePrefix" value=""/>
<security:intercept-url pattern="/admin/**" access="ROLE_ADMIN" />
to
<security:intercept-url pattern="/admin/**" access="IS_AUTHENTICATED_FULLY" />
but, when I try to login as a user (with new TOOLS_USER group) I got following error:
com.openkm.core.RepositoryException: PathNotFoundException: 682c4bbe-8bd8-4f65-87b2-1fd857fe1d1a : /okm:trashI figured that It has something to do with permission because all folders had "ROLE_USER" permission.
I tried changing group permission for all the folders from "ROLE_USER" to "TOOLS_USER".
I could change permission for all the folders like "Taxonomy - okm:root", "Categories - okm:categories" etc but there is no option to change the permission on "Trash - okm:trash" folder.
Could you please help me to change the permission of Trash folder?
I am pretty sure that after this change everything will work.
Regards,
Adi