alerting: add permission check in api for pausing alerts

This commit is contained in:
Daniel Lee
2018-01-30 14:41:25 +01:00
parent 87d6d791d5
commit f5107d5023
4 changed files with 114 additions and 29 deletions
-4
View File
@@ -159,10 +159,6 @@ type SetAlertStateCommand struct {
Timestamp time.Time
}
type DeleteAlertCommand struct {
AlertId int64
}
//Queries
type GetAlertsQuery struct {
OrgId int64