n8n/packages/cli
Charlie Kolb 8b51b28f73
refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog)
Move userHasScopes, ProjectScopeService and WorkflowFinderService with
their tests. WorkflowFinderService is imported by 12 backend modules and
userHasScopes by 8.

userHasScopes resolves the project of a data table through the new
ScopedResourceResolverRegistry. The data-table module registers its
resolver on init, so check-access no longer imports the module.

Tests that mocked or spied on userHasScopes through the old path now
mock the package. A vi.mock with the actual implementation as default
and a mockReset before each test keeps the per-test behaviour of the
spies.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 11:05:23 +02:00
..
bin chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
scripts feat(core): Add new agent slack integration (#35591) 2026-08-17 09:27:50 +00:00
src refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
AGENTS.md chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
nodemon.json
package.json refactor(core): Move CacheService and RedisClientService into @n8n/backend-services (no-changelog) 2026-09-16 11:03:42 +02:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
vitest.config.base.ts fix(core): Register the encryption key provider before any encrypt or decrypt (no-changelog) (#37972) 2026-09-07 17:04:39 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts refactor(core): Tidy agent-eval runner and rating-persistence internals (no-changelog) (#35424) 2026-08-04 10:42:20 +00:00
vitest.config.migration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.tsc-entity-transform.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00