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)

Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...