Skip to content

fix: register taas.autorouter.lastRoute under operator.read scope#9

Merged
rjcloudsigma merged 1 commit into
mainfrom
fix/autorouter-rpc-scope
May 25, 2026
Merged

fix: register taas.autorouter.lastRoute under operator.read scope#9
rjcloudsigma merged 1 commit into
mainfrom
fix/autorouter-rpc-scope

Conversation

@rjcloudsigma
Copy link
Copy Markdown
Collaborator

Plugin RPC methods without an explicit scope default to operator.admin (see openclaw method-scopes.ts:200). That blocks Studio. Set the read-only autorouter lookup to operator.read.

Without an explicit scope, the gateway auth path defaults plugin RPC methods to operator.admin (see method-scopes.ts:authorizeOperatorScopesForMethod). That blocked the Studio (which connects with operator.read+write but not admin) and CLI calls from invoking the method. Setting opts.scope=operator.read makes the read-only autorouter lookup available to any Studio operator.
@rjcloudsigma rjcloudsigma merged commit 5781426 into main May 25, 2026
@rjcloudsigma rjcloudsigma deleted the fix/autorouter-rpc-scope branch May 25, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant