grafana/pkg/tests/api
Ieva cfa1a2c55f
RBAC: Split non-empty scopes into kind, attribute and identifier fields for better search performance (#71933)
* add a feature toggle

* add the fields for attribute, kind and identifier to permission

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* set the new fields when new permissions are stored

* add migrations

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* remove comments

* Update pkg/services/accesscontrol/migrator/migrator.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* feedback: put column migrations behind the feature toggle, added an index, changed how wildcard scopes are split

* PR feedback: add a comment and revert an accidentally changed file

* PR feedback: handle the case with : in resource identifier

* switch from checking feature toggle through cfg to checking it through featuremgmt

* don't put the column migrations behind a feature toggle after all - this breaks permission queries from db

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-07-21 15:23:01 +01:00
..
alerting RBAC: Split non-empty scopes into kind, attribute and identifier fields for better search performance (#71933) 2023-07-21 15:23:01 +01:00
azuremonitor Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
correlations Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
dashboards Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
elasticsearch elasticsearch: removed code related to removed esVersion field (#65439) 2023-04-03 14:47:10 +02:00
graphite Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
influxdb InfluxDB: Return better error messages from backend (#70066) 2023-07-04 13:55:08 +02:00
loki Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
metrics remove flaky cloudwatch test (#45800) 2022-02-23 13:59:53 -06:00
opentdsb Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
plugins Plugins: Standardize Golang enum naming convention (#69449) 2023-06-08 12:21:19 +02:00
prometheus Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
stats Alerting: Fix stats that display alert count when using unified alerting (#64852) 2023-03-17 11:19:18 +00:00