mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: Add setting to disable the feature (#78894)
* Replace feature toggle with configuration setting * Fix permission alert * Update documentation * Add back feature toggle * revert unwanted commited changes * fix tests * run prettier * Update SharePublicDashboard.test.tsx * fix linter and frontend tests * Update api.go * Apply docs edit from code review Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Update index.md * Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com> * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com> * add isPublicDashboardsEnabled + test * fix test * update ff description in registry * move isPublicDashboardsEnabled * revert getConfig() update --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
@@ -2538,3 +2538,11 @@ Move an app plugin (referenced by its id), including all its pages, to a specifi
|
||||
|
||||
Move an individual app plugin page (referenced by its `path` field) to a specific navigation section.
|
||||
Format: `<pageUrl> = <sectionId> <sortWeight>`
|
||||
|
||||
## [public_dashboards]
|
||||
|
||||
This section configures the [public dashboards]({{< relref "../../dashboards/dashboard-public" >}}) feature.
|
||||
|
||||
### enabled
|
||||
|
||||
Set this to `false` to disable the public dashboards feature. This prevents users from creating new public dashboards and disables existing ones.
|
||||
|
@@ -22,7 +22,7 @@ Some features are enabled by default. You can disable these feature by setting t
|
||||
| Feature toggle name | Description | Enabled by default |
|
||||
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
|
||||
| `disableEnvelopeEncryption` | Disable envelope encryption (emergency only) | |
|
||||
| `publicDashboards` | Enables public access to dashboards | Yes |
|
||||
| `publicDashboards` | [Deprecated] Public dashboards are now enabled by default; to disable them, use the configuration setting. This feature toggle will be removed in the next major version. | Yes |
|
||||
| `featureHighlights` | Highlight Grafana Enterprise features | |
|
||||
| `exploreContentOutline` | Content outline sidebar | Yes |
|
||||
| `newVizTooltips` | New visualizations tooltips UX | |
|
||||
|
@@ -117,10 +117,10 @@ docker run -d -p 3000:3000 --name=grafana \
|
||||
Grafana supports specifying custom configuration settings using [environment variables]({{< relref "../../../setup-grafana/configure-grafana#override-configuration-with-environment-variables" >}}).
|
||||
|
||||
```bash
|
||||
# enabling public dashboard feature
|
||||
# enable debug logs
|
||||
|
||||
docker run -d -p 3000:3000 --name=grafana \
|
||||
-e "GF_FEATURE_TOGGLES_ENABLE=publicDashboards" \
|
||||
-e "GF_LOG_LEVEL=debug" \
|
||||
grafana/grafana-enterprise
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user