n8n/packages/cli/test/unit
Omar Ajoue 437c95e84e
fix(core): Permission check for subworkflow properly checking for workflow settings (#7576)
The `sharing` related code is legacy that was not removed. Subworkflow
execution should check workflow settings alone, and this is now
reflected in the code.

Github issue / Community forum post (link here to close automatically):

https://community.n8n.io/t/bug-when-using-the-execute-workflow-node-when-workflow-is-shared/32207

---------

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2023-11-01 18:31:34 +01:00
..
controllers refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
ExternalSecrets refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
middleware refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
repositories fix(core): Fix pruning of non-finished executions (#7333) 2023-10-04 16:32:05 +03:00
services feat(core): Set up leader selection for multiple main instances (#7527) 2023-10-30 16:22:32 +01:00
shared refactor(core): Improve instance owner setup and add unit tests (no-changelog) (#5499) 2023-02-17 10:59:09 +01:00
ActiveExecutions.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
ActiveWorkflowRunner.test.ts refactor(core)!: Remove webhook deregistration at startup and shutdown (#7515) 2023-10-26 14:37:54 +02:00
CredentialsHelper.test.ts refactor(core): Avoid passing around static state like default timezone (no-changelog) (#7221) 2023-10-27 14:17:52 +02:00
CredentialTypes.test.ts refactor(core): Refactor nodes loading (no-changelog) (#7283) 2023-10-09 16:09:23 +02:00
CurlConverterHelper.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
execution.lifecycle.test.ts refactor(core): Move execution save settings into lifecycle function (no-changelog) (#7370) 2023-10-26 14:35:38 +02:00
Helpers.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
InternalHooks.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
License.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
PermissionChecker.test.ts fix(core): Permission check for subworkflow properly checking for workflow settings (#7576) 2023-11-01 18:31:34 +01:00
PostHog.test.ts refactor(core): Abstract away InstanceSettings and encryptionKey into injectable services (no-changelog) (#7471) 2023-10-23 13:39:35 +02:00
SourceControl.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
Telemetry.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
UserManagementMailer.test.ts fix(core): Do not return inviteAcceptUrl in response if email was sent (#7465) 2023-10-19 13:58:06 +02:00
utils.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
webhooks.test.ts fix(Respond to Webhook Node): Return headers in response (#6921) 2023-08-14 12:38:17 +02:00
WorkflowCredentials.test.ts feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises (#6281) 2023-05-24 02:01:45 +02:00
WorkflowExecuteAdditionalData.test.ts refactor(core): Set up ExecutionMetadata service (no-changelog) (#7103) 2023-09-05 09:13:30 +02:00
WorkflowHelpers.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00
workflowHistoryHelper.test.ts feat: Workflow History pruning and prune time settings (#7343) 2023-10-04 13:57:21 +01:00
WorkflowRunner.test.ts refactor(core): Make Logger a service (no-changelog) (#7494) 2023-10-25 16:35:22 +02:00