grafana/pkg/services/datasources/service
Eric Leijonmarck b1e1297bb3
LBAC for datasources: Move validation of rules from datasources to LBAC Rules (#94622)
* FIX: Remove the checks for lbac rules inside of datasources

* Remove json validation for lbac rules

* Preserve lbac rules in updates

* Refactored test to remove the table structure

* refactor: change to allow naming and concise override instead of complex branching

* refactor to make sure we set an empty field for updates

* bugfix

* check for datasources.JsonData

* fix merge

* add datasource to check for field presence only

* add function call for readability
2024-10-25 10:07:53 +01:00
..
cache.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
datasource_test.go LBAC for datasources: Move validation of rules from datasources to LBAC Rules (#94622) 2024-10-25 10:07:53 +01:00
datasource.go LBAC for datasources: Move validation of rules from datasources to LBAC Rules (#94622) 2024-10-25 10:07:53 +01:00
legacy.go K8s: Improve identity mapping setup (#89450) 2024-06-20 17:53:07 +03:00
store_test.go Repurpose wrong datasource UID feature flag (#89363) 2024-06-20 12:56:39 +02:00
store.go Repurpose wrong datasource UID feature flag (#89363) 2024-06-20 12:56:39 +02:00