Access Control: Make it possible to exclude role grants (#91647)

This commit is contained in:
Alexander Zobnin
2024-08-08 14:11:17 +02:00
committed by GitHub
parent 89ee970ec3
commit 0e5d7633f7
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -26,8 +26,9 @@ var (
// RoleRegistration stores a role and its assignments to built-in roles
// (Viewer, Editor, Admin, Grafana Admin)
type RoleRegistration struct {
Role RoleDTO
Grants []string
Role RoleDTO
Grants []string
Exclude []string
}
// Role is the model for Role in RBAC.