mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
a5e4a533fa
* use uid:s for folder and dashboard permissions * evaluate folder and dashboard permissions based on uids * add dashboard.uid to accept list * Check for exact suffix * Check parent folder on create * update test * drop dashboard:create actions with dashboard scope * fix typo * AccessControl: test id 0 scope conversion * AccessControl: store only parent folder UID * AccessControl: extract general as a constant * FolderServices: Prevent creation of a folder uid'd general * FolderServices: Test folder creation prevention * Update pkg/services/guardian/accesscontrol_guardian.go * FolderServices: fix mock call expect * FolderServices: remove uneeded mocks Co-authored-by: jguer <joao.guerreiro@grafana.com> |
||
---|---|---|
.. | ||
api | ||
database | ||
middleware | ||
mock | ||
ossaccesscontrol | ||
resourcepermissions | ||
accesscontrol_bench_test.go | ||
accesscontrol_test.go | ||
accesscontrol.go | ||
errors.go | ||
evaluator_test.go | ||
evaluator.go | ||
filter_bench_test.go | ||
filter_test.go | ||
filter.go | ||
models.go | ||
roles_test.go | ||
roles.go | ||
scope_test.go | ||
scope.go |