Skip to main content

may_run

Function may_run 

Source
pub fn may_run(
    grants: &CheckoutGrantStore,
    approvals: &ApprovalStore,
    req: &RunRequest<'_>,
) -> Result<RunPermit, RunDenied>
Expand description

May req be installed or run? Needs a valid grant and a covering approval, and the binary’s ArtifactHash must not be revoked.