removed auth on execute workflow action

This commit is contained in:
Michael Shanks 2020-05-28 09:17:14 +01:00
parent a1d83cdc4c
commit 4eb00c1e4e
1 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@ router
) )
.put("/api/:instanceId/workflows", authorized(BUILDER), controller.update) .put("/api/:instanceId/workflows", authorized(BUILDER), controller.update)
.post("/api/:instanceId/workflows", authorized(BUILDER), controller.create) .post("/api/:instanceId/workflows", authorized(BUILDER), controller.create)
.post( .post("/api/:instanceId/workflows/action", controller.executeAction)
"/api/:instanceId/workflows/action",
authorized(EXECUTE_WORKFLOW),
controller.executeAction
)
.delete( .delete(
"/api/:instanceId/workflows/:id/:rev", "/api/:instanceId/workflows/:id/:rev",
authorized(BUILDER), authorized(BUILDER),