alerting: show alerts for user with Viewer role

changelog: add notes about closing #11167

remove changelog note

reformat alert_test.go
This commit is contained in:
Alexander Zobnin
2018-06-01 13:39:44 +03:00
parent f5cf926364
commit 13c6f37ea5
3 changed files with 5 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ func GetAlerts(c *m.ReqContext) Response {
DashboardIds: dashboardIDs,
Type: string(search.DashHitDB),
FolderIds: folderIDs,
Permission: m.PERMISSION_EDIT,
Permission: m.PERMISSION_VIEW,
}
err := bus.Dispatch(&searchQuery)