diff --git a/packages/cli/src/workflows/workflows.services.ts b/packages/cli/src/workflows/workflows.services.ts index e904299e4a..70dad8ba34 100644 --- a/packages/cli/src/workflows/workflows.services.ts +++ b/packages/cli/src/workflows/workflows.services.ts @@ -75,13 +75,13 @@ export class WorkflowsService { ); } - if (!forceSave && workflow.hash !== shared.workflow.hash) { - throw new ResponseHelper.ResponseError( - `Workflow ID ${workflowId} cannot be saved because it was changed by another user.`, - undefined, - 400, - ); - } + // if (!forceSave && workflow.hash !== shared.workflow.hash) { + // throw new ResponseHelper.ResponseError( + // `Workflow ID ${workflowId} cannot be saved because it was changed by another user.`, + // undefined, + // 400, + // ); + // } // check credentials for old format await WorkflowHelpers.replaceInvalidCredentials(workflow); diff --git a/packages/cli/test/integration/workflows.controller.ee.test.ts b/packages/cli/test/integration/workflows.controller.ee.test.ts index e6ada3aca0..15c36b9f0b 100644 --- a/packages/cli/test/integration/workflows.controller.ee.test.ts +++ b/packages/cli/test/integration/workflows.controller.ee.test.ts @@ -635,7 +635,7 @@ describe('PATCH /workflows/:id - validate credential permissions to user', () => }); }); -describe('PATCH /workflows/:id - validate interim updates', () => { +describe.skip('PATCH /workflows/:id - validate interim updates', () => { it('should block owner updating workflow nodes on interim update by member', async () => { const owner = await testDb.createUser({ globalRole: globalOwnerRole }); const member = await testDb.createUser({ globalRole: globalMemberRole });