Skip to content

Function permissions::invites::invite_create

zaun_community_protocol::permissions::invites::invite_create · Function

pub fn invite_create(actor: &Party, state: MembershipState, cp: Permissions, req: &InviteRequest<'_>) -> Result<(), Refusal>

invite.create beyond CREATE_INVITE itself (checked by the table in the right scope): the invite_creation rule, default roles the actor could assign, stricter-only admission overrides, and pre_approved needing APPROVE_MEMBERS and excluding requires_approval.

Full rustdoc page