RBAC: add a feature toggle for action sets (#86064)

* add a feature toggle for action sets

* update feature toggle name
This commit is contained in:
Ieva 2024-04-12 17:19:25 +01:00 committed by GitHub
parent f3b814a024
commit 56f4664875
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 38 additions and 0 deletions

View File

@ -175,6 +175,7 @@ Experimental features might be changed or removed without prior notice.
| `nodeGraphDotLayout` | Changed the layout algorithm for the node graph |
| `kubernetesAggregator` | Enable grafana aggregator |
| `expressionParser` | Enable new expression parser |
| `accessActionSets` | Introduces action sets for resource permissions |
## Development feature toggles

View File

@ -179,4 +179,5 @@ export interface FeatureToggles {
oauthRequireSubClaim?: boolean;
newDashboardWithFiltersAndGroupBy?: boolean;
cloudWatchNewLabelParsing?: boolean;
accessActionSets?: boolean;
}

View File

@ -1205,6 +1205,12 @@ var (
FrontendOnly: false,
AllowSelfServe: false,
},
{
Name: "accessActionSets",
Description: "Introduces action sets for resource permissions",
Stage: FeatureStageExperimental,
Owner: identityAccessTeam,
},
}
)

View File

@ -160,3 +160,4 @@ usePrometheusFrontendPackage,GA,@grafana/observability-metrics,false,false,true
oauthRequireSubClaim,experimental,@grafana/identity-access-team,false,false,false
newDashboardWithFiltersAndGroupBy,experimental,@grafana/dashboards-squad,false,false,false
cloudWatchNewLabelParsing,GA,@grafana/aws-datasources,false,false,false
accessActionSets,experimental,@grafana/identity-access-team,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
160 oauthRequireSubClaim experimental @grafana/identity-access-team false false false
161 newDashboardWithFiltersAndGroupBy experimental @grafana/dashboards-squad false false false
162 cloudWatchNewLabelParsing GA @grafana/aws-datasources false false false
163 accessActionSets experimental @grafana/identity-access-team false false false

View File

@ -650,4 +650,8 @@ const (
// FlagCloudWatchNewLabelParsing
// Updates CloudWatch label parsing to be more accurate
FlagCloudWatchNewLabelParsing = "cloudWatchNewLabelParsing"
// FlagAccessActionSets
// Introduces action sets for resource permissions
FlagAccessActionSets = "accessActionSets"
)

View File

@ -2090,6 +2090,31 @@
"frontend": true,
"allowSelfServe": true
}
},
{
"metadata": {
"name": "actionSets",
"resourceVersion": "1712934405418",
"creationTimestamp": "2024-04-12T15:06:45Z",
"deletionTimestamp": "2024-04-12T15:17:53Z"
},
"spec": {
"description": "Introduces action sets for resource permissions",
"stage": "experimental",
"codeowner": "@grafana/identity-access-team"
}
},
{
"metadata": {
"name": "accessActionSets",
"resourceVersion": "1712935073026",
"creationTimestamp": "2024-04-12T15:17:53Z"
},
"spec": {
"description": "Introduces action sets for resource permissions",
"stage": "experimental",
"codeowner": "@grafana/identity-access-team"
}
}
]
}