Page 1 of 1
RoleNames
PostPosted:Thu Feb 25, 2010 2:46 pm
by blindrood
How can I change name of standard roles (AdminRole and UserRole) for something else (i.e. more locally familiar) ??
This app, for my company, has to be as much localized as it can be, including files/folders permission management
and In my opinion those names should be localizable by default
Re: RoleNames
PostPosted:Thu Feb 25, 2010 4:29 pm
by jllort
You can change in OpenKM.cfg refer to
wiki.
Re: RoleNames
PostPosted:Thu Feb 25, 2010 5:11 pm
by blindrood
Great thanks

Re: RoleNames
PostPosted:Tue Mar 02, 2010 10:05 am
by blindrood
Ok, I did as wiki says.
But now I would like to remove those unneeded roles.
How can I do this?
Re: RoleNames
PostPosted:Wed Mar 03, 2010 8:18 am
by jllort
AdminRole and UserRole are defined in authentication. You might open OpenKM.war and into there's WEB-INF/web.xml ( there you must change the older roles for the newer ).
if You want to delete from database, simply remove from each user the role, and when you'll remove the role to the last user, then it'll be definive removed. You can also make it connecting to databas take a look at
Browsing embeded database
Re: RoleNames
PostPosted:Wed Mar 03, 2010 2:12 pm
by blindrood
jllort wrote:
if You want to delete from database, simply remove from each user the role, and when you'll remove the role to the last user, then it'll be definive removed. You can also make it connecting to databas take a look at Browsing embeded database
I'm trying to browse database as it is described at wiki but I get error
Code: Select all[HypersonicDatabase] Failed to start database manager because thi is a headless configuration (no display, mouse or keyword)
I guess I'm missing some kind of DB browsing app
Re: RoleNames
PostPosted:Fri Mar 05, 2010 4:17 pm
by jllort
You try it directly from server browser not remote browser no ?
Re: RoleNames
PostPosted:Mon Mar 08, 2010 8:07 am
by blindrood
Sure I am.
But I managed to browse database by opening it as simple text (using gedit)
Is it safe to make changes in that way?
Re: RoleNames
PostPosted:Tue Mar 09, 2010 9:48 am
by jllort
Not much, I don't like you edit the file directly. You could try, but make a backup before. And don't edit while service is running.