Skip to main content

authorize_answer

Function authorize_answer 

Source
pub fn authorize_answer(
    q: &Question,
    talks: &Talks,
    questions: &Questions,
    run: &str,
    node: &str,
    reply: &str,
    quote: Option<&str>,
) -> Result<Option<AnswerAuthority>>
Expand description

Validate an answer under the question lock. The caller must also retain Talks::answer_guard from before this read until the answer is persisted. Consultation is a delivery route, not the source of authority for an explicit, independently bound owner hold.