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:
co-authored by
Emil Tullstedt
parent
cdb4785496
commit
9f82eac833
@@ -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