mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 17:04:58 +00:00
fix(security): enforce explicit ingress owner context
This commit is contained in:
@@ -81,3 +81,8 @@ export type AgentCommandOpts = {
|
||||
/** Per-call stream param overrides (best-effort). */
|
||||
streamParams?: AgentStreamParams;
|
||||
};
|
||||
|
||||
export type AgentCommandIngressOpts = Omit<AgentCommandOpts, "senderIsOwner"> & {
|
||||
/** Ingress callsites must always pass explicit owner authorization state. */
|
||||
senderIsOwner: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user