Skip to main content

decide_message

Function decide_message 

Source
pub fn decide_message<C: LysPassConsumer>(
    consumer: &C,
    pass: &AdmittedLysPass<C::Pass>,
    subject: &SubjectBinding,
    action: HotAction,
    now: u64,
) -> Result<GrantReceipt, AccessDecisionError>
Expand description

Makes exactly one fresh offline decision for this message.

No admission-wide allow is cached. The adapter, rather than subject text, selects the longest applicable placed ancestor and the actual granting right.

§Errors

Propagates the consumer’s typed refusal unchanged.