Skip to main content

missing_permission

Function missing_permission 

Source
pub fn missing_permission(
    ucan: &Ucan,
    policy: &CompiledPolicy,
    permissions: &impl PermissionMap,
) -> Option<TeRule>
Expand description

The first rule the grant’s capabilities map to that the compiled policy omits, if any — a completeness gap. Non-security (a narrower policy never over-grants) and NOT part of the signing gate; for diagnostics only.