Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By default, the platform defines an administrative role called Admin. Use the steps below to change this value. For the examples below, assume that the new administrative role is called "NewAdmin."

pentaho.xml

In pentaho.xml, update the admin-role element within the IAclVoter element. Additionally, replace any references to the old administrative role within the default-acls element within the IAclPublisher element.

applicationContext-acegi-security.xml

Using the Acegi Security documentation (section 21.3) as your guide, modify the objectDefinitionSource property of the filterInvocationInterceptor bean to match the new admin group.

Warning
titleWarning

While the example below only shows a single url to role mapping, multiple lines in objectDefinitionSource refer to the administrative role and therefore must be changed too.

Code Block
xml
xml
<property name="objectDefinitionSource">
  <value>
    <![CDATA[
    CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
    PATTERN_TYPE_APACHE_ANT
    ...
    /admin*=ROLE_ADMINNewAdmin
    ...
  ]]>
  </value>
</property>