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
Jo
729dafaff9
Auth: Unfurl OrgID in pkg/api to allow using identity.Requester interface ( #76108 )
...
Unfurl OrgID in pkg/api to allow using identity.Requester interface
2023-10-06 11:34:36 +02:00
Karl Persson
684d68365e
IDforwarding: forward signed id to plugins ( #75651 )
...
* Plugins: Add client middlware that forwards the signed grafana id token if present
* DsProxy: Set grafana id header if id token exists
* Add util function to apply id token to header
* Only add id forwarding middleware if feature toggle is enabled
* Add feature toggles to ds proxy and check if id forwarding is enabled
* Clean up test setup
* Change to use backend.ForwardHTTPHeaders interface
* PluginProxy: Forward signed identity when feature toggle is enabled
* PluginProxy: forrward signed id header
2023-10-02 09:14:10 +02:00
Will Browne
b59ca7fb22
Plugins: Only configure plugin proxy transport once ( #71735 )
...
only configure plugin proxy transport once
2023-07-17 13:37:03 +02:00
Will Browne
94f39e69a3
Plugins: Migrate plugincontext
, adapters
and pluginsettings
to pkg/services/pluginsintegration package ( #64154 )
...
* migrate plugincontext, adapter and pluginsettings
* add to CODEOWNERS
* fix imports
* fix CODEOWNERS
* take pluginsettings
* migrate wire stuff
2023-03-07 11:22:30 -05:00
idafurjes
6c5a573772
Chore: Move ReqContext to contexthandler service ( #62102 )
...
* Chore: Move ReqContext to contexthandler service
* Rename package to contextmodel
* Generate ngalert files
* Remove unused imports
2023-01-27 08:50:36 +01:00
Marcus Efraimsson
e6857bf17d
Plugins: Handle app plugin proxy routes per request ( #51835 )
...
Fixes #47530
2022-08-23 13:05:31 +02:00