chore: move dashboard_acl models into dashboard service (#62151)
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ func (hs *HTTPServer) GetAlerts(c *models.ReqContext) response.Response {
|
||||
DashboardIds: dashboardIDs,
|
||||
Type: string(models.DashHitDB),
|
||||
FolderIds: folderIDs,
|
||||
Permission: models.PERMISSION_VIEW,
|
||||
Permission: dashboards.PERMISSION_VIEW,
|
||||
}
|
||||
|
||||
err := hs.SearchService.SearchHandler(c.Req.Context(), &searchQuery)
|
||||
|
||||
Reference in New Issue
Block a user