# Function permissions::invites::invite_create

> `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 o

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

```rust
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](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/permissions/invites/fn.invite_create.html)
