Skip to main content

approve

Function approve 

Source
async fn approve(
    state: &AppState,
    block_id: &str,
    agent: &str,
    agent_pane: String,
    origin: &str,
    reason: &str,
    incognito: bool,
) -> Result<bool, (Ended, StatusCode, How, String)>
Expand description

Ask the person, unless they have said “Always” for this agent on this site (not in an Incognito tab); Ok(true) when nobody answered and it went ahead.