RBAC: Add a feature toggle for primitives we provide to OnCall (#57289)

This commit is contained in:
Gabriel MABILLE
2022-10-19 18:10:09 +02:00
committed by GitHub
parent 09ab156480
commit 717bd4a6c0
3 changed files with 11 additions and 0 deletions
@@ -77,4 +77,5 @@ export interface FeatureToggles {
queryLibrary?: boolean;
showDashboardValidationWarnings?: boolean;
mysqlAnsiQuotes?: boolean;
accessControlOnCall?: boolean;
}
+6
View File
@@ -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,
},
}
)
+4
View File
@@ -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"
)