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:
Vardan TorosyanandEmil Tullstedt authored and GitHub committed 2021-04-14 16:31:27 +02:00
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 {