mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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;
|
queryLibrary?: boolean;
|
||||||
showDashboardValidationWarnings?: boolean;
|
showDashboardValidationWarnings?: boolean;
|
||||||
mysqlAnsiQuotes?: boolean;
|
mysqlAnsiQuotes?: boolean;
|
||||||
|
accessControlOnCall?: boolean;
|
||||||
}
|
}
|
||||||
|
@ -335,5 +335,11 @@ var (
|
|||||||
Description: "Use double quote to escape keyword in Mysql query",
|
Description: "Use double quote to escape keyword in Mysql query",
|
||||||
State: FeatureStateAlpha,
|
State: FeatureStateAlpha,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "accessControlOnCall",
|
||||||
|
Description: "Access control primitives for OnCall",
|
||||||
|
State: FeatureStateAlpha,
|
||||||
|
RequiresDevMode: true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -250,4 +250,8 @@ const (
|
|||||||
// FlagMysqlAnsiQuotes
|
// FlagMysqlAnsiQuotes
|
||||||
// Use double quote to escape keyword in Mysql query
|
// Use double quote to escape keyword in Mysql query
|
||||||
FlagMysqlAnsiQuotes = "mysqlAnsiQuotes"
|
FlagMysqlAnsiQuotes = "mysqlAnsiQuotes"
|
||||||
|
|
||||||
|
// FlagAccessControlOnCall
|
||||||
|
// Access control primitives for OnCall
|
||||||
|
FlagAccessControlOnCall = "accessControlOnCall"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user