Skip to content

Function permissions::safety::admission_policy_update

zaun_community_protocol::permissions::safety::admission_policy_update · Function

pub fn admission_policy_update(actor: &Party, cp: Permissions, old: Permissions, new: Permissions) -> Result<(), Refusal>

admission.policy.update of newcomer_restrictions: valid, and H3 on the bits added or removed (old XOR new ⊆ cp; only the owner exempt, see h3_owner_only).

Full rustdoc page