Skip to main content

own_agent_only

Function own_agent_only 

Source
pub(crate) fn own_agent_only(
    caller: Option<&Caller>,
    target_uid: Option<&str>,
) -> Result<(), String>
Expand description

An agent acts on its own panes only: a request that carries an agent’s token is refused when the pane (or agent) it acts on belongs to another. A request with no token (the window, a peer srv) is not compared, nor is a target that has no agent.