Skip to main content

recheck

Function recheck 

Source
pub fn recheck(
    table: &mut FreshnessTable,
    id: OperationId,
    reason: RecheckReason,
    outcome: PolicyOutcome,
    grant_current: bool,
    contact: ContactState,
    sensitive: bool,
) -> Result<FreshnessVerdict, QdnfError>
Expand description

Admit or re-admit after queued, offline, or migration.

Cached Allow without a current grant is insufficient (QdnfError::Incomplete when not sensitive). Sensitive work that is not a fresh current Allow stays FreshnessVerdict::SensitivePending unless contact is Blocked/Suspended or the outcome is Deny.