diff --git a/src/gateway/node-registry.ts b/src/gateway/node-registry.ts index c47593d3845..6580db0fd74 100644 --- a/src/gateway/node-registry.ts +++ b/src/gateway/node-registry.ts @@ -271,11 +271,11 @@ export class NodeRegistry { continue; } const approvedValue = surface.permissions?.[key]; - if (approvedValue === true) { + if (approvedValue) { nextEntries.push([key, true]); continue; } - if (approvedValue === false) { + if (approvedValue !== undefined) { nextEntries.push([key, false]); } }