• Rename role

  • 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.
 #25570  by maxcus
 
Hello,
I can not find how to rename a role. From the role window I can only activate or deactivate a role. Is possible to rename a role?

My OpenKM version: 5.1.9

Thanks
Massimo.
 #25580  by jllort
 
In version 5.1.9 is not possible rename a role. You could make partial rename, but is not good idea, because will not take effect on repository security only on role name. We suggest upgrade to version 6.2.4 because 5.1.9 is very old.
 #25721  by maxcus
 
Thanks jlort,
but also in version 6.2.4 I can not rename a role.
Did I miss something?

Regards
Massimo
 #25733  by jllort
 
In version 6.2.4 could be done but is not an automatic procedure should make as administrator level. Steps should be done are:
We will supose you want to rename ROLE_X to ROLE_Y
1- create role Y -> Administration / Roles / create role
2- execute in database query:
Code: Select all
update OKM_USER_ROLE set UR_ROLE = 'ROLE_Y' where UR_ROLE = 'ROLE_X';
delete from OKM_ROLE where ROL_ID='ROLE_Y';
update OKM_NODE_ROLE_PERMISSION set NRP_ROLE='ROLE_Y' where NRP_ROLE='ROLE_X';
3- Go to Administration / Utilies / Rebuild indexes. Select lucene indexes and then click execute. ( That will propagate security in across search engine, can take several minutes, meanwhile is under execution repository will go to read only mode, do not worry, after process will be completed come back to normality ).

Tell us if has been solved your problem.

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.