Security

Why do I receive 'There was an error retrieving the configuration, can not process this page' when accessing certain manager pages?

hazekamp
Builder

When accessing a manager page for example:

manager/<app_name>/authentication/roles

I receive an error There was an error retrieving the configuration, can not process this page even though I have the edit_roles capability.

What gives?

0 Karma
1 Solution

hazekamp
Builder

The reason for this is simple. The ability to "read" manager pages is controlled by the search app's metadata regardless of capabilities assigned to the role/user accessing the page. In order to edit roles (in this example) using the manager/<app_name>/authentication/roles a role must meet the following criteria:

  1. Be allowed to read the manager page:

    ## $SPLUNK_HOME/etc/apps/search/metadata/local.meta
    [manager/authentication_roles]
    access = read : [ admin, my_role ], write : [ admin ]

  2. Be granted the appropriate capability (in this case edit_roles)

View solution in original post

hazekamp
Builder

The reason for this is simple. The ability to "read" manager pages is controlled by the search app's metadata regardless of capabilities assigned to the role/user accessing the page. In order to edit roles (in this example) using the manager/<app_name>/authentication/roles a role must meet the following criteria:

  1. Be allowed to read the manager page:

    ## $SPLUNK_HOME/etc/apps/search/metadata/local.meta
    [manager/authentication_roles]
    access = read : [ admin, my_role ], write : [ admin ]

  2. Be granted the appropriate capability (in this case edit_roles)

View solution in original post

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!