• ROLE_ADMIN lost its privileges

  • OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
Forum rules: Por favor, antes de preguntar algo consulta el wiki de documentación o utiliza la función de búsqueda del foro. Recuerda que no tenemos una bola de cristal ni poderes mentales, o sea que que para informar sobre un error es necesario que nos indiques tanto la versión de OpenKM que usas como la del navegador y sistema operativo. Para más información consulta Cómo informar de fallos de forma efectiva.
 #21787  by abelibm
 
Hello,

I'm quite new with the app and I'm setting the typical customizations.

Well, my problem is that I've followed the steps included in the documentation to change from ROLE_ADMIN to MY_ROLE within the Admin-> Configuration tab, and I also did the same in the file within the TOMCAT_HOME directory.

My problem, (and I guess it's happened to anybody else) is that when I log out from the admin console (because I restart the server as required),
The ADMINISTRATION tab does not show up!!
( I'm using firefox )
It seems that there is another parameter (probably in the admin user information) where I did not change the ROLE.

I've tried searching for the database schema to set this value properly but I could not find it anywhere.

Anybody can help? I wouldn't like to reinstall the server from the very beginning (quite easy to do it, thanks!) because I suppose it's a simple problem or bug that could be fixed.

Many thanks!!!
 #21808  by jllort
 
Take a look at table SELECT * FROM OKM_USER_ROLE; to ensure role is assigned to the user.
 #21809  by abelibm
 
Thanks a lot, It really gave me an idea to how troubleshoot this,

The name change of the ROLE_ADMIN didn't quite work, but at least I could restore the previous configuration by editing the database itself.

If you'd like to hear a suggestion, I'd write a little bit clearer the documentation of how to access the database.

Maybe it was only for me a little difficult because I'm a rookie, but I'd have appreciated some more info.

Of course the application is wonderful and we are thinking of setting it up almost all the features possible ( and they are a bunch!!! )

Thank you!
 #21821  by jllort
 
Actually there's a lot of documentation in our wiki, and should be read almost. About administration I suggest read http://wiki.openkm.com/index.php/Administration_Guide here's database query http://wiki.openkm.com/index.php/Database_query

For best performance and prevent database damage I suggest you install in a MySQL ( power shutdown etc.. can easilly damage HSQL, that's more difficult with MySQL ), take a look here http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2

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.