mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Improve instance owner setup and add unit tests (no-changelog) (#5499)
* refactor(core): Avoid fetching all workflows and credentials for the owner setup screen * refactor(core): Add unit tests for the owner controller
This commit is contained in:
committed by
GitHub
parent
12104bc4a3
commit
561882f599
@@ -31,7 +31,7 @@ export const ROUTES_REQUIRING_AUTHENTICATION: Readonly<string[]> = [
|
||||
'PATCH /me',
|
||||
'PATCH /me/password',
|
||||
'POST /me/survey',
|
||||
'POST /owner',
|
||||
'POST /owner/setup',
|
||||
'GET /non-existent',
|
||||
];
|
||||
|
||||
@@ -42,7 +42,8 @@ export const ROUTES_REQUIRING_AUTHORIZATION: Readonly<string[]> = [
|
||||
'POST /users',
|
||||
'DELETE /users/123',
|
||||
'POST /users/123/reinvite',
|
||||
'POST /owner',
|
||||
'POST /owner/pre-setup',
|
||||
'POST /owner/setup',
|
||||
'POST /owner/skip-setup',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user