Hi there,
I am testing OpneKM 6.3.4 with Active Direcotory authentication. I would like to use not default groups name, so I successfully changed ROLE_ADMIN in OKM_ADMIN and user of this AD group can login and administer without problems.
I am trying to do same thing with ROLE_USER, I wuold like to change it in OKM_USER>
I created a row in okm_role table
I changed default.user.role property
I changed webapps/OpenKM/WEB-INF/appContext.xml with this row <beans:property name="rolePrefix" value="OKM_"/>
in openkm.log I can find this:
If I put user in ROLE_USER AD group, he can log-in. For me it is very strange.
Can you help me please?
Thanks in advance.
I am testing OpneKM 6.3.4 with Active Direcotory authentication. I would like to use not default groups name, so I successfully changed ROLE_ADMIN in OKM_ADMIN and user of this AD group can login and administer without problems.
I am trying to do same thing with ROLE_USER, I wuold like to change it in OKM_USER>
I created a row in okm_role table
I changed default.user.role property
I changed webapps/OpenKM/WEB-INF/appContext.xml with this row <beans:property name="rolePrefix" value="OKM_"/>
in openkm.log I can find this:
Code: Select all
But if I try to log with a user in AD group OKM_USER I get this error: logs/openkm.log:2018-01-02 16:40:09,874 [localhost-startStop-1] [] INFO com.openkm.core.Config - RELOAD - default.user.role=OKM_USER
Code: Select all
com.openkm.core.RepositoryException: PathNotFoundException: 52fd6d8c-993c-4f52-b7d8-488a60b29832 : /okm:trash
If I put user in ROLE_USER AD group, he can log-in. For me it is very strange.
Can you help me please?
Thanks in advance.