mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
RBAC: Add a feature toggle for primitives we provide to OnCall (#57289)
This commit is contained in:
parent
09ab156480
commit
717bd4a6c0
@ -77,4 +77,5 @@ export interface FeatureToggles {
|
||||
queryLibrary?: boolean;
|
||||
showDashboardValidationWarnings?: boolean;
|
||||
mysqlAnsiQuotes?: boolean;
|
||||
accessControlOnCall?: boolean;
|
||||
}
|
||||
|
@ -335,5 +335,11 @@ var (
|
||||
Description: "Use double quote to escape keyword in Mysql query",
|
||||
State: FeatureStateAlpha,
|
||||
},
|
||||
{
|
||||
Name: "accessControlOnCall",
|
||||
Description: "Access control primitives for OnCall",
|
||||
State: FeatureStateAlpha,
|
||||
RequiresDevMode: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -250,4 +250,8 @@ const (
|
||||
// FlagMysqlAnsiQuotes
|
||||
// Use double quote to escape keyword in Mysql query
|
||||
FlagMysqlAnsiQuotes = "mysqlAnsiQuotes"
|
||||
|
||||
// FlagAccessControlOnCall
|
||||
// Access control primitives for OnCall
|
||||
FlagAccessControlOnCall = "accessControlOnCall"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user