Authz.intersect: def of bend-kit-authz@0.1.0.0 Import: import bend-kit-authz@0.1.0.0/authz.bend as Authz Lines 155-169 of bend-kit-authz@0.1.0.0/authz.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-authz@0.1.0.0/authz.bend&start_line=155&end_line=169 import Base # Allow only when both allow. Deny wins over Abstain. def intersect(a: Decision, b: Decision) -> Decision: match a: case Deny{}: Deny{} case Allow{}: b case Abstain{}: match b: case Deny{}: Deny{} case Allow{}: Abstain{} case Abstain{}: Abstain{} Uses (1): https://jend.leeeet.dev/definition.txt?path=bend-kit-authz@0.1.0.0/authz.bend&name=Decision