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