Access Control: Make the evaluator prefix match only (#38025)

* Make the evaluator prefix match only

* Handle empty scopes

* Bump version of settings read role

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
This commit is contained in:
Jeremy Price
2021-08-23 14:03:20 +02:00
committed by GitHub
co-authored by Karl Persson
parent 1b3eecddcd
commit 9a71cec1f0
5 changed files with 79 additions and 28 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ const (
ScopeUsersAll = "users:*"
// Settings scope
ScopeSettingsAll = "settings:**"
ScopeSettingsAll = "settings:*"
)
const RoleGrafanaAdmin = "Grafana Admin"