pub fn check_bidirectional_consent(
owner_claim: &ListItemRecord,
group_uri: &str,
member_did: &str,
member_consented_groups: &[String],
) -> boolExpand description
Generic bidirectional-consent check: the owner’s claim (a fetched
ListItemRecord) names subject as a member of group_uri AND the
member’s own consent set (an already-resolved list of group at-uris from
whatever member-side lexicon — caller’s responsibility) includes group_uri.
Authz-prefiltering (whether the caller may even query this group) is a separate, additional check owned by the caller — this function only establishes the membership fact, not the right to act on it.