From 09123a7bd6c15f987db55ef4d95ed4e3badf324a Mon Sep 17 00:00:00 2001 From: Misi Date: Fri, 13 Dec 2024 19:36:35 +0100 Subject: [PATCH] FeatureToggle: Enable useSessionStorageForRedirection by default (#97966) Enable useSessionStorageForRedirection by default --- .../configure-grafana/feature-toggles/index.md | 2 +- pkg/services/featuremgmt/registry.go | 3 ++- pkg/services/featuremgmt/toggles_gen.csv | 2 +- pkg/services/featuremgmt/toggles_gen.json | 12 ++++++++---- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 98aae495e29..bddf6e137ec 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -79,6 +79,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `cloudwatchMetricInsightsCrossAccount` | Enables cross account observability for Cloudwatch Metric Insights query builder | Yes | | `newFiltersUI` | Enables new combobox style UI for the Ad hoc filters variable in scenes architecture | Yes | | `singleTopNav` | Unifies the top search bar and breadcrumb bar into one | Yes | +| `useSessionStorageForRedirection` | Use session storage for handling the redirection after login | Yes | | `azureMonitorDisableLogLimit` | Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default. | | | `preinstallAutoUpdate` | Enables automatic updates for pre-installed plugins | Yes | | `zipkinBackendMigration` | Enables querying Zipkin data source without the proxy | Yes | @@ -119,7 +120,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `ssoSettingsSAML` | Use the new SSO Settings API to configure the SAML connector | | `azureMonitorPrometheusExemplars` | Allows configuration of Azure Monitor as a data source that can provide Prometheus exemplars | | `ssoSettingsLDAP` | Use the new SSO Settings API to configure LDAP | -| `useSessionStorageForRedirection` | Use session storage for handling the redirection after login | | `reportingUseRawTimeRange` | Uses the original report or dashboard time range instead of making an absolute transformation | | `elasticsearchCrossClusterSearch` | Enables cross cluster search in the Elasticsearch datasource | diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index ea72a4927fa..8101bd7669f 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1515,8 +1515,9 @@ var ( { Name: "useSessionStorageForRedirection", Description: "Use session storage for handling the redirection after login", - Stage: FeatureStagePublicPreview, + Stage: FeatureStageGeneralAvailability, Owner: identityAccessTeam, + Expression: "true", }, { Name: "rolePickerDrawer", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 90e7cea0120..152cd655be9 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -199,7 +199,7 @@ appSidecar,experimental,@grafana/grafana-frontend-platform,false,false,false groupAttributeSync,privatePreview,@grafana/identity-access-team,false,false,false alertingQueryAndExpressionsStepMode,experimental,@grafana/alerting-squad,false,false,true improvedExternalSessionHandling,experimental,@grafana/identity-access-team,false,false,false -useSessionStorageForRedirection,preview,@grafana/identity-access-team,false,false,false +useSessionStorageForRedirection,GA,@grafana/identity-access-team,false,false,false rolePickerDrawer,experimental,@grafana/identity-access-team,false,false,false unifiedStorageSearch,experimental,@grafana/search-and-storage,false,false,false pluginsSriChecks,experimental,@grafana/plugins-platform-backend,false,false,false diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 875816b2b03..6aadaf5e57b 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -3593,13 +3593,17 @@ { "metadata": { "name": "useSessionStorageForRedirection", - "resourceVersion": "1727082618788", - "creationTimestamp": "2024-09-23T09:31:23Z" + "resourceVersion": "1734109542033", + "creationTimestamp": "2024-09-23T09:31:23Z", + "annotations": { + "grafana.app/updatedTimestamp": "2024-12-13 17:05:42.033262 +0000 UTC" + } }, "spec": { "description": "Use session storage for handling the redirection after login", - "stage": "preview", - "codeowner": "@grafana/identity-access-team" + "stage": "GA", + "codeowner": "@grafana/identity-access-team", + "expression": "true" } }, {