Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow grafana_team home dashboard to be scoped to a folder #241

Merged
merged 3 commits into from
Jun 28, 2021

Conversation

treydock
Copy link

Pull Request (PR) description

In my environment we might have the dashboard Node Metrics in numerous folders with different user teams associated to each folder with slightly difference dashboards in each folder. This change allows the team home dashboard to be selected by a specific folder rather than just picking the first dashboard that matches the name which might be the wrong dashboard in wrong folder and in my case would get permission denied for our users if wrong dashboard ended up matching the previous search logic that just looked for first dashboard to match a given name.

@treydock
Copy link
Author

FWIW I just pushed this out to my Grafana test and production instances running Grafana 7.4.1 and it worked as expected.

Notice: /Stage[main]/Profile::Grafana/Grafana_team[DHG]/home_dashboard_folder: home_dashboard_folder changed  to 'DHG'
Notice: /Stage[main]/Profile::Grafana/Grafana_team[DHG]/home_dashboard: home_dashboard changed 'Default' to 'Node Metrics'

@bastelfreak bastelfreak added the enhancement New feature or request label Mar 16, 2021
@treydock
Copy link
Author

@bastelfreak Any chance this can get merged if things look good?

@bastelfreak bastelfreak merged commit c023558 into voxpupuli:master Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants