Skip to content

Commit

Permalink
chore: no rbac for playbook webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed Nov 14, 2024
1 parent e720219 commit 9dd1902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbook/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9dd1902

Please sign in to comment.