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
New server wide setting to disable saving new dashboards from the UI #32375
Comments
allowUiUpdates only applies to a provisioned dashboard, it's not an option that prevents users from creating new ones |
But it sounds like you want a new server level setting do disallow new dashboards from being saved from the UI? |
@torkelo - yes absolutely. Creating new dashboards should be possible, just saving them should be disallowed. Orgs like us who use helm, can manage dashboards declaratively, and would find this valuable. We'd like git to be the source of truth, which a new server level setting would facilitate. Should this issue be reopened, or should a new one be created? |
Some news regarding this feature? We have exactly same problem. We would like to allow user to create a dashboard using grafana UI, but disable saving. With this approach user will have to export a JSON model of the dashboard a create CRD GrafanaDashboard in K8s. This will leads that all grafana instance can be declaratively described in git. |
We have the same issue, we would like to use only immutable dashboards and not beeing able to save it even for non provisioned |
Be good to properly allow gitops workflows in Grafana @torkelo. Is this one on the roadmap? What "more-evidence" do you need? |
This issue also affects us and several times now a developer (who was unaware that they must always check their dashboard JSON into our repo) has spent ages creating a dashboard and because they were just allowed to save it, did not realise that it was only persisted in the local container filesystem only to have it disappear whenever the Grafana pod is rescheduled. |
Yes strange this gap hasn't yet been filled. Can implement the perfect gitops workflow, but users can subvert it by just creating a new dashboard and hitting save. If “allowUiUpdates: false” won't achieve, then a new setting is needed. How about “allowPersistNewDashboards: false”? Would default to “true”, so no breaking changes. |
@grafana/grafana-search-and-storage I'm not entirely sure this is dashboards. Could you also have a look over it? |
Hi,
It would be reasonable to expect
allowUiUpdates: false
to disallow UI updates to dashboards. Instead saving is allowed to dashboards that are created via the webui.We have a gitops pipeline that manages dashboard changes declaratively. But there's nothing stopping users from creating new dashboards using the UI and pressing the Save button to save. We would prefer users to see the declarative save box:
which is what they correctly see when they try to save a declaratively provisioned dashboard. We have also tried setting
editable: false
. No difference. Likewise no dice if we change user rights from Editor to Viewer - they can't create new dashboards at all, and don't see the Save button in existing ones.Please make
allowUiUpdates: false
disallow UI updates. Many thanksThe text was updated successfully, but these errors were encountered: