mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 00:59:31 +08:00
dashfolders: security for png rendering
This commit is contained in:
@ -18,6 +18,8 @@ func RenderToPng(c *middleware.Context) {
|
||||
Width: queryReader.Get("width", "800"),
|
||||
Height: queryReader.Get("height", "400"),
|
||||
OrgId: c.OrgId,
|
||||
UserId: c.UserId,
|
||||
OrgRole: c.OrgRole,
|
||||
Timeout: queryReader.Get("timeout", "30"),
|
||||
Timezone: queryReader.Get("tz", ""),
|
||||
}
|
||||
|
Reference in New Issue
Block a user