Dashboards & Visualizations

What is the order if precedence with default_namespace?

ejwade
Contributor

I'm trying to determine the order of precedence when a user has two roles that both assign a default app (i.e., user-prefs.conf, default_namespace).

For example, user "bob" has the following roles: workspace_default and workspace_engineering.

On the search head, in the acme_zglobal_ta app:

user-prefs.conf

[role_workspace_default]

default_namespace = global_app

In the acme_engineering_ta app:

[role_workspace_engineering]

default_namespace = engineering_app

The lexicographical sorting of the apps doesn't seem to play into it, since the global_app is given to Bob. Any insights?

Labels (1)
0 Karma
1 Solution

ejwade
Contributor

I tested this further, and it appears roles do have a lexicographical precedence based on the role name.

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ejwade,

I think that the use has both the roles and the sum of the feature of both the roles.

For my knowledge, there isn't a precedence in roles: if you have two roles you have the features of both of them.

Ciao.

Giuseppe

ejwade
Contributor

I tested this further, and it appears roles do have a lexicographical precedence based on the role name.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ejwade ,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

ejwade
Contributor

Thanks again, @gcusello!

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...