pub(super) fn acting(
state: &AppState,
caller: Option<&Caller>,
action: &str,
named: Option<&str>,
) -> Result<Actor, Refusal>Expand description
Who acts: the calling agent, or, for a request that carries no agent token (the person at the UI), that person acting through the agent named: its leader, or the agent itself when it has none (the agent whose key signs what is sent to another computer). A person must name the agent.