fix(browser): require admin scope for browser request

Co-authored-by: RichardCao <RichardCao@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-04-25 05:12:04 +01:00
parent b84e57fca3
commit 6602092a40
5 changed files with 32 additions and 5 deletions

View File

@@ -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",