Skip to main content

Module allowlist

Module allowlist 

Expand description

Shared allowed_users matching used by every chat channel.

Enums§

Match
Case-sensitivity selector for the allowlist comparison. The chat platform defines which one applies; the helper does not infer.

Constants§

DENY_PREFIX
Marks an entry as a deny rule rather than a grant.

Functions§

grants_anyone
Whether a resolved peer list can admit anybody at all.
is_identity_allowed
is_identity_allowed_by with the shared case-sensitivity selector.
is_identity_allowed_by
Whether an account is authorized, evaluated across every identifier it is known by, against a single snapshot of the resolved peer list.
is_identity_denied_by
Whether any identifier of one account is explicitly denied, independent of any grant.
is_user_allowed
is_user_allowed_by
pairing_deny_conflict
The conflict message for a pairing write an ignore would shadow, or None when the write can proceed.