Skip to main content

run_allowed_for

Function run_allowed_for 

Source
pub(crate) fn run_allowed_for(
    state: &AppState,
    ctx: &RpcContext,
    drone_id: &str,
) -> Result<(), String>
Expand description

What an agent’s own rundrone call may start: the drones the Drone tool may fire (nothing that writes outside AgentMux, reads a Vault credential, runs a command or calls another drone), so approving a credential or a write stays the person’s. The person’s window is not asked. A drone that does not exist is left for the run to report.