fix(core): Prevent unauthorised workflow termination (#16405)

This commit is contained in:
Marc Littlemore
2025-06-18 08:27:43 +01:00
committed by GitHub
parent b5828e5b56
commit 29752ead00
5 changed files with 81 additions and 32 deletions

View File

@@ -96,7 +96,9 @@ export class ExecutionsController {
if (workflowIds.length === 0) throw new NotFoundError('Execution not found');
return await this.executionService.stop(req.params.id);
const executionId = req.params.id;
return await this.executionService.stop(executionId, workflowIds);
}
@Post('/:id/retry')