grafana/pkg/tsdb
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
..
azuremonitor Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cloudmonitoring add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
cloudwatch Cloudwatch: use the backend HTTP client provider (#44036) 2022-01-18 09:34:12 +01:00
elasticsearch Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00
grafanads add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
graphite add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
influxdb add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
intervalv2 Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
legacydata AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
loki Loki: use queryType rather than range|instant flags (#43727) 2022-01-07 10:00:11 -08:00
mssql add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
mysql add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
opentsdb add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
postgres add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
prometheus Prometheus: Fix interpolation of $__rate_interval variable (#44035) 2022-01-17 15:32:23 +01:00
sqleng Postgres/MySQL/MSSQL: Cancel in-flight SQL query if user cancels query in grafana (#43890) 2022-01-12 16:24:27 +02:00
tempo add core plugins thru store (#43085) 2021-12-14 15:22:40 +01:00
testdatasource #41993: make it possible to create N random60hz channels (#43295) 2021-12-17 23:42:37 +04:00