evaluate_one

Function evaluate_one 

Source
pub fn evaluate_one(authz: &Authz, ctx: &AuthzContext<'_>) -> Option<Decision>
Expand description

Evaluate ONE Authz block. None means the block imposes nothing (no rules at all — a transparent level); Some(Allow) / Some(Deny) is this level’s verdict.

Public for testing the single-level authorization contract.