Skip to content

Conversation

@konstantintieber
Copy link
Contributor

@konstantintieber konstantintieber commented Jan 7, 2026

Summary

THIS PR IS JUST A PROOF OF CONCEPT AND LOTS OF CODE WAS GENERATED WITH CLAUDE, NOT READY FOR PRODUCTIVE USE.

Adds two new endpoints:

  • GET /rest/settings/security
  • POST /reset/settings/security

These endpoints allow to fetch and change the value of the new personalSpacePublishing: boolean setting.

Adds a new route under /settings/security to interact with the new endpoint for controlling whether users can publish workflows from their personal space.

Enable feature flag 060_personal_project_governance to access the route.

image

When this setting is disabled, this member user can no longer publish personal workflows:

image

Related Linear tickets, Github issues, and Community forum posts

PAY-4331

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

In the case where an admin has disabled publishing from the personal space,
we don't want this scope being added back to the project:personalOwner role by the syncing logic.
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jan 7, 2026
@codecov
Copy link

codecov bot commented Jan 7, 2026

❌ 17 Tests Failed:

Tests completed Failed Passed Skipped
16729 17 16712 0
View the top 3 failed test(s) by shortest run time
AuthRolesService init - syncRoles should not update roles when they are already correct
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:564:4)
AuthRolesService init - syncRoles should remove scopes from roles when they should not have them
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:481:4)
AuthRolesService init - syncRoles should update existing roles when displayName or description changes
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:394:4)
AuthRolesService init - syncScopes should delete obsolete scopes that are no longer in ALL_SCOPES
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:129:4)
AuthRolesService init - syncScopes should handle multiple obsolete scopes across multiple roles
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:229:4)
AuthRolesService init - syncScopes should only delete obsolete scopes and keep valid ones
Stack Traces | 0s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:318:4)
AuthRolesService init - syncRoles should create new system roles that do not exist in database
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:354:4)
AuthRolesService init - syncRoles should handle roles across different role types
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:512:4)
AuthRolesService init - syncRoles should log when updating roles
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:591:4)
AuthRolesService init - syncRoles should update role scopes when they differ from definition
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:433:4)
AuthRolesService init - syncScopes should not delete valid scopes that are in ALL_SCOPES
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:277:4)
AuthRolesService init - syncScopes should not update scopes when displayName and description are already correct
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:97:4)
AuthRolesService init - syncScopes should remove obsolete scopes from roles before deleting them
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:173:4)
AuthRolesService init - syncScopes should update existing scopes when displayName or description changes
Stack Traces | 0.001s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:62:4)
AuthRolesService init - syncScopes should create new scopes that do not exist in database
Stack Traces | 0.002s run time
TypeError: Cannot read properties of undefined (reading 'findByKey')
    at AuthRolesService.shouldPersonalOwnerHavePublishScope (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:112:49)
    at AuthRolesService.getExpectedScopesForRole (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:127:41)
    at .../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:166:40
    at Array.map (<anonymous>)
    at AuthRolesService.syncRoles (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:162:30)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at AuthRolesService.init (.../n8n/n8n/packages/@.../src/services/auth.roles.service.ts:212:3)
    at Object.<anonymous> (.../n8n/n8n/packages/cli/src/services/__tests__/auth.roles.service.test.ts:29:4)
permissions getResourcePermissions for empty scopes
Stack Traces | 0.016s run time
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 1

@@ -28,10 +28,11 @@
    "projectVariable": Object {},
    "provisioning": Object {},
    "role": Object {},
    "saml": Object {},
    "securityAudit": Object {},
+   "securitySettings": Object {},
    "sourceControl": Object {},
    "tag": Object {},
    "user": Object {},
    "variable": Object {},
    "workersView": Object {},
    at Object.<anonymous> (.../n8n/n8n/packages/@.../utilities/__tests__/get-resource-permissions.test.ts:8:36)
    at Promise.then.completed (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/utils.js:300:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/utils.js:233:10)
    at _callCircusTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:315:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:251:3)
    at _runTestsForDescribeBlock (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:125:9)
    at _runTestsForDescribeBlock (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:120:9)
    at run (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:70:3)
    at runAndTransformResultsToJestFormat (.../n8n/node_modules/.pnpm/[email protected]..../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../n8n/node_modules/.pnpm/[email protected]..../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/runTest.js:367:16)
    at runTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/runTest.js:444:34)
    at Object.worker (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/testWorker.js:106:12)
Scope Information ensure scopes are defined correctly
Stack Traces | 0.033s run time
Error: expect(received).toMatchSnapshot()

Snapshot name: `Scope Information ensure scopes are defined correctly 1`

- Snapshot  - 0
+ Received  + 2

@@ -61,10 +61,12 @@
    "project:*",
    "saml:manage",
    "saml:*",
    "securityAudit:generate",
    "securityAudit:*",
+   "securitySettings:manage",
+   "securitySettings:*",
    "sourceControl:pull",
    "sourceControl:push",
    "sourceControl:manage",
    "sourceControl:*",
    "tag:create",
    at Object.<anonymous> (.../n8n/n8n/packages/@.../src/__tests__/scope-information.test.ts:5:22)
    at Promise.then.completed (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/utils.js:300:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/utils.js:233:10)
    at _callCircusTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:315:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:251:3)
    at _runTestsForDescribeBlock (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:125:9)
    at _runTestsForDescribeBlock (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:120:9)
    at run (.../n8n/node_modules/.pnpm/[email protected]..../jest-circus/build/run.js:70:3)
    at runAndTransformResultsToJestFormat (.../n8n/node_modules/.pnpm/[email protected]..../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../n8n/node_modules/.pnpm/[email protected]..../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/runTest.js:367:16)
    at runTest (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/runTest.js:444:34)
    at Object.worker (.../n8n/node_modules/.pnpm/[email protected]..../jest-runner/build/testWorker.js:106:12)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@blacksmith-sh
Copy link

blacksmith-sh bot commented Jan 7, 2026

Found 17 test failures on Blacksmith runners:

Failures

Test View Logs
AuthRolesService/
AuthRolesService init - syncRoles should create new system roles that do not exist in d
atabase
View Logs
AuthRolesService/
AuthRolesService init - syncRoles should handle roles across different role types
View Logs
AuthRolesService/AuthRolesService init - syncRoles should log when updating roles View Logs
AuthRolesService/
AuthRolesService init - syncRoles should not update roles when they are already correct
View Logs
AuthRolesService/
AuthRolesService init - syncRoles should remove scopes from roles when they should not
have them
View Logs
AuthRolesService/
AuthRolesService init - syncRoles should update existing roles when displayName or desc
ription changes
View Logs
AuthRolesService/
AuthRolesService init - syncRoles should update role scopes when they differ from defin
ition
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should create new scopes that do not exist in databa
se
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should delete obsolete scopes that are no longer in
ALL_SCOPES
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should handle multiple obsolete scopes across multip
le roles
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should not delete valid scopes that are in ALL_SCOPE
S
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should not update scopes when displayName and descri
ption are already correct
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should only delete obsolete scopes and keep valid on
es
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should remove obsolete scopes from roles before dele
ting them
View Logs
AuthRolesService/
AuthRolesService init - syncScopes should update existing scopes when displayName or de
scription changes
View Logs
permissions/permissions getResourcePermissions for empty scopes View Logs
Scope Information/Scope Information ensure scopes are defined correctly View Logs

Fix in Cursor

@currents-bot
Copy link

currents-bot bot commented Jan 7, 2026

E2E Tests: n8n tests passed after 7m 49.9s

🟢 609 · 🔴 0 · ⚪️ 38 · 🟣 3

View Run Details

Run Details

  • Project: n8n

  • Groups: 2

  • Framework: Playwright

  • Run Status: Passed

  • Commit: f7b3561

  • Spec files: 142

  • Overall tests: 647

  • Duration: 7m 49.9s

  • Parallelization: 16

Groups

GroupId Results Spec Files Progress
multi-main:e2e:isolated 🟢 57 · 🔴 0 · ⚪️ 0 9 / 9
multi-main:e2e 🟢 552 · 🔴 0 · ⚪️ 38 · 🟣 3 133 / 133


This message was posted automatically by currents.dev | Integration Settings

private readonly roleService: RoleService,
) {}

async setPersonalSpacePublishing(enabled: boolean): Promise<void> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a call with @afitzek: here we need to add a call to RoleCacheService.refreschCache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants