mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
RBAC: add a feature toggle for annotation permission changes (#77432)
add a feature toggle for annotation permission changes
This commit is contained in:
parent
9c47161c14
commit
c51c51458e
@ -159,6 +159,7 @@ Experimental features might be changed or removed without prior notice.
|
||||
| `alertmanagerRemoteSecondary` | Enable Grafana to sync configuration and state with a remote Alertmanager. |
|
||||
| `alertmanagerRemotePrimary` | Enable Grafana to have a remote Alertmanager instance as the primary Alertmanager. |
|
||||
| `alertmanagerRemoteOnly` | Disable the internal Alertmanager and only use the external one defined. |
|
||||
| `annotationPermissionUpdate` | Separate annotation permissions from dashboard permissions to allow for more granular control. |
|
||||
|
||||
## Development feature toggles
|
||||
|
||||
|
@ -153,4 +153,5 @@ export interface FeatureToggles {
|
||||
alertmanagerRemoteSecondary?: boolean;
|
||||
alertmanagerRemotePrimary?: boolean;
|
||||
alertmanagerRemoteOnly?: boolean;
|
||||
annotationPermissionUpdate?: boolean;
|
||||
}
|
||||
|
@ -945,5 +945,12 @@ var (
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
},
|
||||
{
|
||||
Name: "annotationPermissionUpdate",
|
||||
Description: "Separate annotation permissions from dashboard permissions to allow for more granular control.",
|
||||
Stage: FeatureStageExperimental,
|
||||
RequiresDevMode: false,
|
||||
Owner: grafanaAuthnzSquad,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -134,3 +134,4 @@ prometheusPromQAIL,experimental,@grafana/observability-metrics,false,false,false
|
||||
alertmanagerRemoteSecondary,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
alertmanagerRemotePrimary,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
alertmanagerRemoteOnly,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
annotationPermissionUpdate,experimental,@grafana/grafana-authnz-team,false,false,false,false
|
||||
|
|
@ -546,4 +546,8 @@ const (
|
||||
// FlagAlertmanagerRemoteOnly
|
||||
// Disable the internal Alertmanager and only use the external one defined.
|
||||
FlagAlertmanagerRemoteOnly = "alertmanagerRemoteOnly"
|
||||
|
||||
// FlagAnnotationPermissionUpdate
|
||||
// Separate annotation permissions from dashboard permissions to allow for more granular control.
|
||||
FlagAnnotationPermissionUpdate = "annotationPermissionUpdate"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user