Commit 6eb9f836 by Torkel Ödegaard Committed by GitHub

Merge pull request #14678 from bergquist/set_orgid_for_provisioned_dashboards

Adds orgId to user dto for provisioned dashboards
parents ce50e933 9895b1e6
......@@ -175,7 +175,9 @@ func (dr *dashboardServiceImpl) SaveProvisionedDashboard(dto *SaveDashboardDTO,
dto.User = &models.SignedInUser{
UserId: 0,
OrgRole: models.ROLE_ADMIN,
OrgId: dto.OrgId,
}
cmd, err := dr.buildSaveDashboardCommand(dto, true, false)
if err != nil {
return nil, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment