Skip to main content

metadata_policy_to_membership_policy

Function metadata_policy_to_membership_policy 

Source
pub fn metadata_policy_to_membership_policy(
    policy: &MetadataPolicy,
) -> Result<MembershipPolicy, PolicyProjectionError>
Expand description

Invert the membership mapping without changing the policy tree. Visit all children. An earlier Allow must not hide an invalid OR child.