Skip to main content

for_agent_pane

Function for_agent_pane 

Source
pub(crate) fn for_agent_pane(
    state: &AppState,
    meta: &mut MetaMapType,
    (agent_id, allowed, requested, from_container): (&str, Option<&[String]>, Option<&str>, bool),
) -> Result<String, String>
Expand description

A new pane for the agent (id, allowed sites, profile asked for, from a container): owned by it, limited to its sites, and browsing as the identity it gets (for_agent_open). Returns whom it browses as, in words.