Chore: Add feature toggle for session storage redirect handling (#93575)

Add feature toggle for session storage redirect handling
pull/93580/head
Misi 8 months ago committed by GitHub
parent 2e38329026
commit b369341868
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  3. 6
      pkg/services/featuremgmt/registry.go
  4. 1
      pkg/services/featuremgmt/toggles_gen.csv
  5. 4
      pkg/services/featuremgmt/toggles_gen.go
  6. 25
      pkg/services/featuremgmt/toggles_gen.json

@ -105,6 +105,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `accessActionSets` | Introduces action sets for resource permissions. Also ensures that all folder editors and admins can create subfolders without needing any additional permissions. |
| `azureMonitorPrometheusExemplars` | Allows configuration of Azure Monitor as a data source that can provide Prometheus exemplars |
| `cloudwatchMetricInsightsCrossAccount` | Enables cross account observability for Cloudwatch Metric Insights query builder |
| `useSessionStorageForRedirection` | Use session storage for handling the redirection after login |
## Experimental feature toggles

@ -215,4 +215,5 @@ export interface FeatureToggles {
appSidecar?: boolean;
groupAttributeSync?: boolean;
improvedExternalSessionHandling?: boolean;
useSessionStorageForRedirection?: boolean;
}

@ -1484,6 +1484,12 @@ var (
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "useSessionStorageForRedirection",
Description: "Use session storage for handling the redirection after login",
Stage: FeatureStagePublicPreview,
Owner: identityAccessTeam,
},
}
)

@ -196,3 +196,4 @@ appPlatformAccessTokens,experimental,@grafana/identity-access-team,false,false,f
appSidecar,experimental,@grafana/explore-squad,false,false,false
groupAttributeSync,experimental,@grafana/identity-access-team,false,false,false
improvedExternalSessionHandling,experimental,@grafana/identity-access-team,false,false,false
useSessionStorageForRedirection,preview,@grafana/identity-access-team,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
196 appSidecar experimental @grafana/explore-squad false false false
197 groupAttributeSync experimental @grafana/identity-access-team false false false
198 improvedExternalSessionHandling experimental @grafana/identity-access-team false false false
199 useSessionStorageForRedirection preview @grafana/identity-access-team false false false

@ -794,4 +794,8 @@ const (
// FlagImprovedExternalSessionHandling
// Enable improved support for external sessions in Grafana
FlagImprovedExternalSessionHandling = "improvedExternalSessionHandling"
// FlagUseSessionStorageForRedirection
// Use session storage for handling the redirection after login
FlagUseSessionStorageForRedirection = "useSessionStorageForRedirection"
)

@ -2913,6 +2913,31 @@
"requiresRestart": true
}
},
{
"metadata": {
"name": "useSeessionStorageForRedirection",
"resourceVersion": "1727082170583",
"creationTimestamp": "2024-09-23T09:02:50Z",
"deletionTimestamp": "2024-09-23T09:10:18Z"
},
"spec": {
"description": "Use session storage for handling the redirection after login",
"stage": "preview",
"codeowner": "@grafana/identity-access-team"
}
},
{
"metadata": {
"name": "useSessionStorageForRedirection",
"resourceVersion": "1727082618788",
"creationTimestamp": "2024-09-23T09:10:18Z"
},
"spec": {
"description": "Use session storage for handling the redirection after login",
"stage": "preview",
"codeowner": "@grafana/identity-access-team"
}
},
{
"metadata": {
"name": "vizActions",

Loading…
Cancel
Save