Authn UI: Remove feature toggle (#70073)

* Authn UI: Remove feature toggle

* remove feature flag usage
This commit is contained in:
Alexander Zobnin
2023-06-14 19:58:15 +03:00
committed by GitHub
parent 6dc65d4d5d
commit 6c7d5bf95f
8 changed files with 7 additions and 22 deletions
-7
View File
@@ -487,13 +487,6 @@ var (
Stage: FeatureStagePublicPreview,
Owner: grafanaObservabilityLogsSquad,
},
{
Name: "authenticationConfigUI",
Description: "Enables authentication configuration UI",
Stage: FeatureStageGeneralAvailability,
Expression: "true",
Owner: grafanaAuthnzSquad,
},
{
Name: "pluginsAPIManifestKey",
Description: "Use grafana.com API to retrieve the public manifest key",
-1
View File
@@ -71,7 +71,6 @@ externalServiceAuth,experimental,@grafana/grafana-authnz-team,true,false,false,f
refactorVariablesTimeRange,preview,@grafana/dashboards-squad,false,false,false,false
useCachingService,GA,@grafana/grafana-operator-experience-squad,false,false,true,false
enableElasticsearchBackendQuerying,preview,@grafana/observability-logs,false,false,false,false
authenticationConfigUI,GA,@grafana/grafana-authnz-team,false,false,false,false
pluginsAPIManifestKey,experimental,@grafana/plugins-platform-backend,false,false,false,false
advancedDataSourcePicker,GA,@grafana/dashboards-squad,false,false,false,true
faroDatasourceSelector,preview,@grafana/app-o11y,false,false,false,true
1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
71 refactorVariablesTimeRange preview @grafana/dashboards-squad false false false false
72 useCachingService GA @grafana/grafana-operator-experience-squad false false true false
73 enableElasticsearchBackendQuerying preview @grafana/observability-logs false false false false
authenticationConfigUI GA @grafana/grafana-authnz-team false false false false
74 pluginsAPIManifestKey experimental @grafana/plugins-platform-backend false false false false
75 advancedDataSourcePicker GA @grafana/dashboards-squad false false false true
76 faroDatasourceSelector preview @grafana/app-o11y false false false true
-4
View File
@@ -295,10 +295,6 @@ const (
// Enable the processing of queries and responses in the Elasticsearch data source through backend
FlagEnableElasticsearchBackendQuerying = "enableElasticsearchBackendQuerying"
// FlagAuthenticationConfigUI
// Enables authentication configuration UI
FlagAuthenticationConfigUI = "authenticationConfigUI"
// FlagPluginsAPIManifestKey
// Use grafana.com API to retrieve the public manifest key
FlagPluginsAPIManifestKey = "pluginsAPIManifestKey"
+1 -1
View File
@@ -16,7 +16,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
hasAccess := ac.HasAccess(s.accessControl, c)
hasGlobalAccess := ac.HasGlobalAccess(s.accessControl, s.accesscontrolService, c)
orgsAccessEvaluator := ac.EvalPermission(ac.ActionOrgsRead)
authConfigUIAvailable := s.license.FeatureEnabled("saml") && s.features.IsEnabled(featuremgmt.FlagAuthenticationConfigUI)
authConfigUIAvailable := s.license.FeatureEnabled("saml")
if hasAccess(datasources.ConfigurationPageAccess) {
configNodes = append(configNodes, &navtree.NavLink{