mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Add no role frontend feature flag (#72823)
* Add 'noBasicRole' feature flag * Hide role options and tooltip with feature flag * Add feature flag to registry
This commit is contained in:
@@ -691,5 +691,13 @@ var (
|
||||
Owner: grafanaObservabilityMetricsSquad,
|
||||
RequiresRestart: false,
|
||||
},
|
||||
{
|
||||
Name: "noBasicRole",
|
||||
Description: "Enables a new role that has no permissions by default",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaAuthnzSquad,
|
||||
RequiresRestart: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
@@ -99,3 +99,4 @@ permissionsFilterRemoveSubquery,experimental,@grafana/backend-platform,false,fal
|
||||
prometheusConfigOverhaulAuth,experimental,@grafana/observability-metrics,false,false,false,false
|
||||
configurableSchedulerTick,experimental,@grafana/alerting-squad,false,false,true,false
|
||||
influxdbSqlSupport,experimental,@grafana/observability-metrics,false,false,false,false
|
||||
noBasicRole,experimental,@grafana/grafana-authnz-team,false,false,true,true
|
||||
|
||||
|
@@ -406,4 +406,8 @@ const (
|
||||
// FlagInfluxdbSqlSupport
|
||||
// Enable InfluxDB SQL query language support with new querying UI
|
||||
FlagInfluxdbSqlSupport = "influxdbSqlSupport"
|
||||
|
||||
// FlagNoBasicRole
|
||||
// Enables a new role that has no permissions by default
|
||||
FlagNoBasicRole = "noBasicRole"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user