Skip to main content

Module invites

Module invites 

Source
Expand description

Invitations without escalation (permissions §4.7, specification §8.6 and §8.9).

Structs§

InviteRequest
The parts of an invite.create body the checks need.

Enums§

InviteCreation
The admission policy’s invite_creation rule (specification §8.9).

Functions§

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 overrides, and pre_approved needing APPROVE_MEMBERS and excluding requires_approval.
redeemable_roles
At redemption, the default roles the issuer could still assign now; the rest are dropped, never granted (permissions §4.7, specification §8.6). A deleted role is simply absent from roles. An issuer who left or was banned resolves to an empty cp.