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 dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
ds_auth_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
ds_auth_provider.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
ds_proxy_test.go Chore: Adapt GetDataSourcesByType to plugins with aliases (#76637) 2023-10-17 11:09:56 +02:00
ds_proxy.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
pluginproxy_test.go RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
pluginproxy.go RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
token_provider_azure.go Azure: Configuration for user identity authentication in datasources (Experimental) (#50277) 2023-05-15 18:00:54 +01:00
token_provider_gce.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_generic.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_jwt.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
token_provider.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
utils_test.go API: Rewrite tests from goconvey (#29091) 2020-11-17 11:31:35 +01:00
utils.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00