PublicDashboards: Enterprise email sharing feature flag (#60644)

adds feature flag for pubdash email sharing
This commit is contained in:
owensmallwood 2023-01-03 13:45:15 -06:00 committed by GitHub
parent 4ed0cc7d18
commit f0ee3ac80a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 13 deletions

View File

@ -99,16 +99,17 @@ Alpha features might be changed or removed without prior notice.
The following toggles require explicitly setting Grafana's [app mode]({{< relref "../_index.md/#app_mode" >}}) to 'development' before you can enable this feature toggle. These features tend to be experimental.
| Feature toggle name | Description |
| -------------------------------------- | --------------------------------------------------------- |
| `dashboardPreviewsAdmin` | Manage the dashboard previews crawler process from the UI |
| `showFeatureFlagsInUI` | Show feature flags in the settings UI |
| `k8s` | Explore native k8s integrations |
| `dashboardsFromStorage` | Load dashboards from the generic storage interface |
| `export` | Export grafana instance (to git, etc) |
| `azureMonitorResourcePickerForMetrics` | New UI for Azure Monitor Metrics Query |
| `grpcServer` | Run GRPC server |
| `entityStore` | SQL-based entity store (requires storage flag also) |
| `queryLibrary` | Reusable query library |
| `accessControlOnCall` | Access control primitives for OnCall |
| `nestedFolders` | Enable folder nesting |
| Feature toggle name | Description |
| -------------------------------------- | ----------------------------------------------------------------------- |
| `dashboardPreviewsAdmin` | Manage the dashboard previews crawler process from the UI |
| `showFeatureFlagsInUI` | Show feature flags in the settings UI |
| `publicDashboardsEmailSharing` | Allows public dashboard sharing to be restricted to only allowed emails |
| `k8s` | Explore native k8s integrations |
| `dashboardsFromStorage` | Load dashboards from the generic storage interface |
| `export` | Export grafana instance (to git, etc) |
| `azureMonitorResourcePickerForMetrics` | New UI for Azure Monitor Metrics Query |
| `grpcServer` | Run GRPC server |
| `entityStore` | SQL-based entity store (requires storage flag also) |
| `queryLibrary` | Reusable query library |
| `accessControlOnCall` | Access control primitives for OnCall |
| `nestedFolders` | Enable folder nesting |

View File

@ -33,6 +33,7 @@ export interface FeatureToggles {
influxdbBackendMigration?: boolean;
showFeatureFlagsInUI?: boolean;
publicDashboards?: boolean;
publicDashboardsEmailSharing?: boolean;
lokiLive?: boolean;
lokiDataframeApi?: boolean;
lokiMonacoEditor?: boolean;

View File

@ -100,6 +100,13 @@ var (
Description: "Enables public access to dashboards",
State: FeatureStateAlpha,
},
{
Name: "publicDashboardsEmailSharing",
Description: "Allows public dashboard sharing to be restricted to only allowed emails",
State: FeatureStateAlpha,
RequiresLicense: true,
RequiresDevMode: true,
},
{
Name: "lokiLive",
Description: "Support WebSocket streaming for loki (early prototype)",

View File

@ -75,6 +75,10 @@ const (
// Enables public access to dashboards
FlagPublicDashboards = "publicDashboards"
// FlagPublicDashboardsEmailSharing
// Allows public dashboard sharing to be restricted to only allowed emails
FlagPublicDashboardsEmailSharing = "publicDashboardsEmailSharing"
// FlagLokiLive
// Support WebSocket streaming for loki (early prototype)
FlagLokiLive = "lokiLive"