grafana/pkg/tsdb/legacydata
Gabriel MABILLE 54280fc9d7
AccessControl: Resolve attribute based scopes to id based scopes (#40742)
* AccessControl: POC scope attribute resolution

Refactor based on ScopeMutators

test errors and calls to cache

Add comments to tests

Rename logger

Create keywordMutator only once

* AccessControl: Add AttributeScopeResolver registration

Co-authored-by: gamab <gabriel.mabille@grafana.com>

* AccessControl: Add AttributeScopeResolver to datasources

Co-authored-by: gamab <gabriel.mabille@grafana.com>

* Test evaluation with translation

* fix imports

* AccessControl: Test attribute resolver

* Fix trailing white space

* Make ScopeResolver public for enterprise redefine

* Handle wildcard

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

Co-authored-by: jguer <joao.guerreiro@grafana.com>
2022-01-18 17:34:35 +01:00
..
interval Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
service AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
contracts.go Chore: Query endpoint refactor (#41637) 2021-11-29 14:21:54 +01:00
dataframes.go Chore: Query endpoint refactor (#41637) 2021-11-29 14:21:54 +01:00
doc.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
time_range_test.go Datemath: Support fiscal years (#43558) 2022-01-04 13:56:34 +01:00
time_range.go Datemath: Remove unused functions (#43665) 2022-01-07 12:53:31 +01:00