diff --git a/playbook/controllers.go b/playbook/controllers.go index 39aa368c..5fed6035 100644 --- a/playbook/controllers.go +++ b/playbook/controllers.go @@ -34,7 +34,7 @@ func RegisterRoutes(e *echo.Echo) { prefix := "playbook" playbookGroup := e.Group(fmt.Sprintf("/%s", prefix)) playbookGroup.GET("/list", HandlePlaybookList, rbac.Playbook(rbac.ActionRead)) - playbookGroup.POST("/webhook/:webhook_path", HandleWebhook, rbac.Playbook(rbac.ActionRun)) + playbookGroup.POST("/webhook/:webhook_path", HandleWebhook) playbookGroup.POST("/:id/params", HandleGetPlaybookParams, rbac.Playbook(rbac.ActionRun)) playbookGroup.GET("/events", func(c echo.Context) error {