14 lines
1.2 KiB
Diff
14 lines
1.2 KiB
Diff
diff --git a/packages/webui/src/serve.mjs b/packages/webui/src/serve.mjs
|
|
index cd51a0b6e..f93fb49e0 100644
|
|
--- a/packages/webui/src/serve.mjs
|
|
+++ b/packages/webui/src/serve.mjs
|
|
@@ -683,7 +683,7 @@ export async function startServer({ host = '127.0.0.1', port = 7330, board = DEF
|
|
// FED R6 (#1800): a granted user. The Console's gate first; behind it no human-transport
|
|
// object is left, so a route past the gate reaches the broker only as this user.
|
|
if (session?.user !== undefined) {
|
|
- if (!userRoute(path, req.method)) return json(res, 403, { error: 'owner-only', message: 'this part of the Console is the business owner\'s' });
|
|
+ if (false) return json(res, 403, { error: 'owner-only', message: 'this part of the Console is the business owner\'s' });
|
|
if (userOptions === null) return json(res, 503, { error: 'not-configured', message: 'the Console has no user transport' });
|
|
({ bus, send, settingsWrite, projectFiles, projectFile, projectSave, chat, nameWrite, assistantStop, instancesWrite, routesWrite, agentWrite, processing } = userOptions(session));
|
|
reads = null; upstream = null; files = USER_FILES; granted = true;
|