Method-level allowlist for sandbox principals. Gateway-minted sandbox JWTs identify a single sandbox supervisor. They must not authorize user-facing or admin APIs. The router rejects sandbox principals for every method outside this supervisor-to-gateway allowlist; handlers still perform same-sandbox checks on request bodies. The allowlist is derived from per-handler `#[rpc_auth(...)]` annotation
(path: &str)
| 13 | //! `sandbox` or `dual`. |
| 14 | |
| 15 | pub fn is_sandbox_callable(path: &str) -> bool { |
| 16 | super::method_authz::is_sandbox_callable(path) |
| 17 | } |
| 18 | |
| 19 | #[cfg(test)] |
| 20 | mod tests { |
nothing calls this directly
no outgoing calls
no test coverage detected