How to Change the Administrator Role
The default administrator role in the BA Server is Admin. If you need to give this privilege level to a different role name, follow these instructions.
Note: Role names are case sensitive, so take special care when typing in the new role name.
- Open the /pentaho/server/biserver-ee/pentaho-solutions/system/pentaho.xml file with a text editor.
- Find the <acl-voter> element, and replace its <admin-role> property with the new administrator role (NewAdmin in the examples in this procedure).
<admin-role>NewAdmin</admin-role>
- Find the <acl-publisher> element, and appropriately replace all instances of Admin in the properties inside of the <default-acls> and <overrides> elements.
<acl-entry role="NewAdmin" acl="ADMIN_ALL" />
- Save the file, then open applicationContext-spring-security.xml
- Find the filterInvocationInterceptor bean, and modify its objectDefinitionSource property accordingly. You may need to consult the Spring Security documentation to complete this step. The appropriate documentation is at http://static.springsource.org/spring-security/site/reference.html
<property name="objectDefinitionSource"> <value> <![CDATA[ CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON ... \A/admin.*\Z=NewAdmin ... ]]> </value> </property>
You have successfully changed the administrator role.