Skip to main content

grant_standing

Function grant_standing 

Source
pub(crate) fn grant_standing(
    state: &AppState,
    pane: &str,
    agent: &str,
    origins: Vec<String>,
    powers: Vec<Power>,
    row_id: &str,
) -> Grant
Expand description

A grant with no time limit, made from the person’s standing row row_id when agent works on a pane showing a site the row names. It ends like any other (Stop, Take over, the pane closing, going idle), and when the row is revoked or changed. After going idle or a changed row the next call makes it again; after the person’s Stop it doesn’t, until they turn it on again (browser_standing::stop_by_person).