pub fn invite_create(
actor: &Party,
state: MembershipState,
cp: Permissions,
req: &InviteRequest<'_>,
) -> Result<(), Refusal>Expand description
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.