Skip to main content

route_needs_identity

Function route_needs_identity 

Source
pub fn route_needs_identity(path: &str) -> bool
Expand description

Routes that act on the calling agent’s own data, and so are refused to a container token that carries no agent identity rather than falling back to an agent named in the request body. Every route a container has been given since the denylist (routes) opened them all does: a handler that takes the agent from the caller serves it, one that takes it from the body does not. The memory routes always did, the session-start delivery included.