Dashboards & Visualizations

Disable all apps other than default app for at user or role level

woodcock
Esteemed Legend

I need to disable all apps but the default app for a user or role but I cannot figure out how to do it. Either making the apps not accessible (but still selectible) or removing the "Apps" menu/dropdown altogether would be acceptible. Right now my default.xml looks like this:


<nav>
<view name="limitedsearch" default="true"/>
</nav>

and my limitedsearch.xml looks like this:

<view template="dashboard.html" onunloadCancelJobs="True">
<label>Vendor-limited Search
<module name="AccountBar" layoutPanel="appHeader"/>
<!-- Message Popups to tell you what's going on -->
<module name="Message" layoutPanel="messaging">
<param name="filter">*
<param name="clearOnJobDispatch">False
<param name="maxSize">1
</module>
<module name="TitleBar" layoutPanel="navigationHeader">
<param name="showActionsMenu">False
</module>
<module name="SearchBar" layoutPanel="mainSearchControls">
<param name="useAssistant">true
<param name="useTypeahead">true
<module name="TimeRangePicker">
<param name="selected">Last 15 minutes
<module name="ViewRedirector">
<param name="viewTarget">flashtimeline
</module>
</module>
</module>
</view>

Tags (1)
0 Karma
1 Solution

lguinn2
Legend

The Splunk Admin can set permissions on the apps by role. So you will need to edit each app, giving READ permission to only the appropriate role(s). Users will not see an app in the menu unless they have permission to access it.

View solution in original post

lguinn2
Legend

The Splunk Admin can set permissions on the apps by role. So you will need to edit each app, giving READ permission to only the appropriate role(s). Users will not see an app in the menu unless they have permission to access it.

Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...