grafana/pkg/api/pluginproxy
Gabriel MABILLE 6b954165c5
RBAC: Cover plugin routes (#80578)
* RBAC: Cover plugin routes

* Action instead of ReqAction

* Fix test initializations

* Fix NewPluginProxy call

* Duplicate test to add RBAC checks

* Cover legacy access control as well

* Fix typo

* action -> reqAction

* Add example

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>

---------

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2024-01-17 16:32:23 +01:00
..
test-data
ds_auth_provider.go
ds_auth_provider_test.go
ds_proxy.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
ds_proxy_test.go Chore: Adapt GetDataSourcesByType to plugins with aliases (#76637) 2023-10-17 11:09:56 +02:00
pluginproxy.go RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
pluginproxy_test.go RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
token_provider.go
token_provider_azure.go
token_provider_gce.go
token_provider_generic.go
token_provider_jwt.go
token_provider_test.go
utils.go
utils_test.go