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

Add feature toggle for session storage redirect handling
This commit is contained in:
Misi
2024-09-23 12:31:23 +03:00
committed by GitHub
parent 2e38329026
commit b369341868
6 changed files with 38 additions and 0 deletions
+6
View File
@@ -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,
},
}
)
+1
View File
@@ -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
+4
View File
@@ -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"
)
+25
View File
@@ -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",