1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

removed auth on execute workflow action

This commit is contained in:
Michael Shanks 2020-05-28 09:17:14 +01:00
parent b3cd17b9a3
commit 5894feaaff

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),