add public dashboards feature flag (#47364)

pull/46925/head^2
Jeff Levin 3 years ago committed by GitHub
parent c3ad36ba72
commit 4a4d87dbdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  2. 6
      pkg/services/featuremgmt/registry.go
  3. 4
      pkg/services/featuremgmt/toggles_gen.go

@ -41,6 +41,7 @@ export interface FeatureToggles {
showFeatureFlagsInUI?: boolean; showFeatureFlagsInUI?: boolean;
disable_http_request_histogram?: boolean; disable_http_request_histogram?: boolean;
validatedQueries?: boolean; validatedQueries?: boolean;
publicDashboards?: boolean;
lokiLive?: boolean; lokiLive?: boolean;
swaggerUi?: boolean; swaggerUi?: boolean;
featureHighlights?: boolean; featureHighlights?: boolean;

@ -143,6 +143,12 @@ var (
State: FeatureStateAlpha, State: FeatureStateAlpha,
RequiresDevMode: true, RequiresDevMode: true,
}, },
{
Name: "publicDashboards",
Description: "enables public access to dashboards",
State: FeatureStateAlpha,
RequiresDevMode: true,
},
{ {
Name: "lokiLive", Name: "lokiLive",
Description: "support websocket streaming for loki (early prototype)", Description: "support websocket streaming for loki (early prototype)",

@ -107,6 +107,10 @@ const (
// only execute the query saved in a panel // only execute the query saved in a panel
FlagValidatedQueries = "validatedQueries" FlagValidatedQueries = "validatedQueries"
// FlagPublicDashboards
// enables public access to dashboards
FlagPublicDashboards = "publicDashboards"
// FlagLokiLive // FlagLokiLive
// support websocket streaming for loki (early prototype) // support websocket streaming for loki (early prototype)
FlagLokiLive = "lokiLive" FlagLokiLive = "lokiLive"

Loading…
Cancel
Save