Skip to main content

grant

Function grant 

Source
pub(crate) fn grant(
    state: &AppState,
    pane: &str,
    agent: &str,
    page: &str,
    power: Power,
) -> Option<Grant>
Expand description

The grant that gives agent the power power on pane, which also covers the page. The person’s standing grant for the agent on the page’s site makes one when the pane has none.