Skip to main content

open_pane_for

Function open_pane_for 

Source
pub(crate) async fn open_pane_for(
    state: AppState,
    grant: Option<Extension<ContainerGrant>>,
    caller: Option<Extension<Caller>>,
    req: CommandPaneOpenData,
    built_by_srv: bool,
) -> Response
Expand description

handle_pane_open’s work. built_by_srv is true only for a request srv itself built from checked facts (the view of a paired computer’s agent, whose meta no caller wrote): a container agent’s snapshot step, which exists to confine what a request can read from its workspace, has nothing to confine there and would refuse the view.