From a18506e2e42607a336dbf32109c725676b6efd4e Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 20 Jun 2016 11:32:55 +0200 Subject: [PATCH] feat(alerting): changing notifications should require org admin --- pkg/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/api.go b/pkg/api/api.go index 862ef3e36a1..4f0a59e3411 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -261,7 +261,7 @@ func Register(r *macaron.Macaron) { r.Put("/:notificationId", bind(m.UpdateAlertNotificationCommand{}), wrap(UpdateAlertNotification)) r.Get("/:notificationId", wrap(GetAlertNotificationById)) r.Delete("/:notificationId", wrap(DeleteAlertNotification)) - }) + }, reqOrgAdmin) //r.Get("/changes", wrap(GetAlertChanges)) })