n8n/packages
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
..
@n8n refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
cli refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
core 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
extensions/insights 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
frontend Merge tag 'n8n@2.40.0' 2026-09-15 10:15:08 +00:00
modules 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
node-dev build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
nodes-base 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
testing ci: Shard E2E performance tests (no-changelog) (#38500) 2026-09-15 08:06:56 +00:00
workflow 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00