Skip to main content

check_run

Function check_run 

Source
pub fn check_run(
    grants: &CheckoutGrantStore,
    approvals: Option<&ApprovalStore>,
    req: &RunRequest<'_>,
) -> Result<RunVerdict, RunRefusal>
Expand description

Decide req. approvals is None when this node has no approval store (no mesh): every Cognitum run is then refused for no_approval once the grant check passes.