grafana/pkg/services/datasources
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
..
fakes Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
guardian Datasources: allow for query but with warning (#93091) 2024-09-10 10:19:02 +01:00
service LBAC for datasources: Move validation of rules from datasources to LBAC Rules (#94622) 2024-10-25 10:07:53 +01:00
accesscontrol.go Navigation: Don't show "add new connection" if user has no permissions (#94058) 2024-10-02 10:02:28 +02:00
datasources.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
errors.go Repurpose wrong datasource UID feature flag (#89363) 2024-06-20 12:56:39 +02:00
models_test.go Team LBAC: Limit access to data source (#78376) 2023-12-05 13:45:40 +02:00
models.go LBAC for datasources: Move validation of rules from datasources to LBAC Rules (#94622) 2024-10-25 10:07:53 +01:00