Skip to main content

extract_group_membership

Function extract_group_membership 

Source
pub fn extract_group_membership(
    extensions: &Extensions<GroupContext>,
) -> Result<GroupMembership, CommitValidationError>
Expand description

Get the GroupMembership from a GroupContext struct.

Post-migration the legacy GROUP_MEMBERSHIP_EXTENSION_ID is gone — we reconstruct from the AppData dictionary’s GROUP_MEMBERSHIP component. Pre-migration the legacy extension is authoritative.