Dashboards & Visualizations

How to disable the "Create new dashboard" button for a certain role?

splunkreal
Motivator

Hello guys,

I've already tried adding or editing dashboard.css for my custom app and nothing worked.

I've edited splunk/share/splunk/search_mrsparkle/exposed/js/build/dashboardspage.js and I commented the btn btn-primary add-dashboard code:

alt text

A small button without text appears, or I can also hide it by adding style="display: none;"

Is it OK, or there is another better and proper way?

Thanks.

* If this helps, please upvote or accept solution if it solved *
0 Karma

bmo017
Path Finder

You could create an additional role through access control for that particular user and now allow them access to Create New Dashboard.

0 Karma

splunkreal
Motivator

I downvoted this post because that feature is not available in v6.2.3, unable to disable create new dashboard link in the role options.

* If this helps, please upvote or accept solution if it solved *
0 Karma

ppablo
Retired

Hi @realsplunk

Next time, just comment this fact instead of downvoting people who are just trying to help out. Not a great motivating factor. Only downvote suggestions that could be potentially harmful for your environment. For some reading on how Splunk community culture and voting etiquette works in this forum, check out this previous Answers post:
https://answers.splunk.com/answers/244111/proper-etiquette-and-timing-for-voting-here-on-ans.html

splunkreal
Motivator

Ok thanks for the clarification

* If this helps, please upvote or accept solution if it solved *
0 Karma

bmo017
Path Finder

The version was not listed in your post, sorry.

splunkreal
Motivator

Hello bmp017, how did it make it? With Splunk 6.5 I still can't find any create new dashboard role permission.

* If this helps, please upvote or accept solution if it solved *
0 Karma

splunkreal
Motivator

OK sorry too, from which version is it possible?

Thanks.

* If this helps, please upvote or accept solution if it solved *
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...