mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Feature flag to fetch rules by passing down RBAC namespaces (#99738)
New feature flag
This commit is contained in:
parent
9b0078326a
commit
1444051b65
@ -253,4 +253,5 @@ export interface FeatureToggles {
|
||||
grafanaAdvisor?: boolean;
|
||||
elasticsearchImprovedParsing?: boolean;
|
||||
datasourceConnectionsTab?: boolean;
|
||||
fetchRulesUsingPost?: boolean;
|
||||
}
|
||||
|
@ -1757,6 +1757,14 @@ var (
|
||||
RequiresDevMode: false,
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "fetchRulesUsingPost",
|
||||
Description: "Use a POST request to list rules by passing down the namespaces user has access to",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
HideFromAdminPage: true,
|
||||
HideFromDocs: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -234,3 +234,4 @@ queryLibraryDashboards,experimental,@grafana/grafana-frontend-platform,false,fal
|
||||
grafanaAdvisor,experimental,@grafana/plugins-platform-backend,false,false,false
|
||||
elasticsearchImprovedParsing,experimental,@grafana/aws-datasources,false,false,false
|
||||
datasourceConnectionsTab,experimental,@grafana/plugins-platform-backend,false,false,true
|
||||
fetchRulesUsingPost,experimental,@grafana/alerting-squad,false,false,false
|
||||
|
|
@ -946,4 +946,8 @@ const (
|
||||
// FlagDatasourceConnectionsTab
|
||||
// Shows defined connections for a data source in the plugins detail page
|
||||
FlagDatasourceConnectionsTab = "datasourceConnectionsTab"
|
||||
|
||||
// FlagFetchRulesUsingPost
|
||||
// Use a POST request to list rules by passing down the namespaces user has access to
|
||||
FlagFetchRulesUsingPost = "fetchRulesUsingPost"
|
||||
)
|
||||
|
@ -1659,6 +1659,20 @@
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "fetchRulesUsingPost",
|
||||
"resourceVersion": "1738148593383",
|
||||
"creationTimestamp": "2025-01-29T11:03:13Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Use a POST request to list rules by passing down the namespaces user has access to",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/alerting-squad",
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "flameGraphItemCollapsing",
|
||||
|
Loading…
Reference in New Issue
Block a user