Access control: Add access control based permissions to admins/users (#32409)
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
1 parent
cdb4785496
commit
9f82eac833
10 files changed
+230
-81
No files matched your search
@@ -20,7 +20,6 @@ func Evaluate(ctx context.Context, ac accesscontrol.AccessControl, user *models.
|
||||
if !ok {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
for _, s := range scope {
|
||||
var match bool
|
||||
for dbScope := range dbScopes {
|
||||
|
||||
Reference in new issue
Block a user