n8n/packages/@n8n
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
..
agents 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
ai-node-sdk 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
ai-utilities 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
ai-workflow-builder.ee 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
api-types 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
backend-common 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
backend-network 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
backend-services refactor(core): Move the scope checks and WorkflowFinderService into @n8n/backend-services (no-changelog) 2026-09-16 11:05:23 +02:00
backend-test-utils 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
benchmark Merge tag 'n8n@2.40.0' 2026-09-15 10:15:08 +00:00
blob-storage 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
chat-hub 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
cli 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
client-oauth2 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
codemirror-lang 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
codemirror-lang-html 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
codemirror-lang-sql 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
computer-use 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
config 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
constants 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
crdt 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
create-node 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
db 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
decorators 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
di 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
engine 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
errors 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
eslint-config build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
eslint-plugin-community-nodes 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
expression-runtime 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
extension-sdk 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
imap 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
instance-ai 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
json-schema-to-zod 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
local-gateway build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
mcp-apps 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
mcp-browser 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
mcp-browser-extension chore: Bump Browser Use Chrome extension to 0.0.7 (#36840) 2026-08-24 06:46:07 +00:00
module-cli refactor(editor): Add defineFrontendModule() and make it the canonical descriptor form (no-changelog) (#38464) 2026-09-12 16:34:08 +00:00
node-cli 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
node-engine-compatibility 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
nodes-langchain 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
oxlint-config build: Migrate base eslint rules to oxlint (#38605) 2026-09-14 12:19:07 +00:00
permissions 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
scan-community-package 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
scheduler 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
stylelint-config build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
syslog-client 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
task-runner 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
task-runner-python refactor: Assign task runner IDs from n8n (#35494) 2026-08-10 11:20:37 +00:00
telemetry 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
tournament 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
typeorm 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
typescript-config 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
utils 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
vitest-config 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
workflow-sdk 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00