grafana/pkg/plugins
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
..
auth
backendplugin
codegen
config FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
envvars Plugins: Add enablePluginsTracingByDefault feature flag (#80195) 2024-01-10 13:25:54 +02:00
httpresponsesender
log
manager FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
pfs
plugindef RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
pluginrequestmeta
pluginscdn
repo
storage
errors.go
ifaces.go FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
localfiles.go
localfiles_test.go
models.go
plugins.go RBAC: Cover plugin routes (#80578) 2024-01-17 16:32:23 +01:00
plugins_test.go
test_utils.go