mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:30:43 +00:00
fix(browser): require admin scope for browser request
Co-authored-by: RichardCao <RichardCao@users.noreply.github.com>
This commit is contained in:
@@ -43,7 +43,7 @@ const BROWSER_FIXTURE_ENTRY = `module.exports = {
|
||||
program.command("browser");
|
||||
}, { commands: ["browser"] });
|
||||
api.registerGatewayMethod("browser.request", async () => ({ ok: true }), {
|
||||
scope: "operator.write",
|
||||
scope: "operator.admin",
|
||||
});
|
||||
api.registerService({
|
||||
id: "browser-control",
|
||||
|
||||
Reference in New Issue
Block a user