mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 10:17:39 +00:00
fix(gateway): block node role when device identity is missing
This commit is contained in:
@@ -490,7 +490,7 @@ export function attachGatewayWsMessageHandler(params: {
|
||||
return true;
|
||||
}
|
||||
clearUnboundScopes();
|
||||
const canSkipDevice = sharedAuthOk;
|
||||
const canSkipDevice = role === "operator" && sharedAuthOk;
|
||||
|
||||
if (isControlUi && !controlUiAuthPolicy.allowBypass) {
|
||||
const errorMessage =
|
||||
|
||||
Reference in New Issue
Block a user