mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:52:16 +08:00
Adds signed in user to backend v2 plugins requests (#22584)
closes #12043
This commit is contained in:
@ -208,6 +208,7 @@ func (m *manager) CallResource(config PluginConfig, c *models.ReqContext, path s
|
||||
URL: clonedReq.URL.String(),
|
||||
Headers: clonedReq.Header,
|
||||
Body: body,
|
||||
User: c.SignedInUser,
|
||||
}
|
||||
|
||||
stream, err := p.callResource(clonedReq.Context(), req)
|
||||
|
Reference in New Issue
Block a user