Registration modes & allowlist
Category: Account & securityTags:注册白名单邀请码邮箱
Four registration modes, email/domain allowlists, invite-code interaction, and admin configuration.
Last updated: 2026-11-15
Registration modes
- Registration has four modes: open / allowlist / invite / closed, configured by the owner or a global admin with audit.
- open keeps the existing invite rule (required when the invite switch is on or real users reach 10,000); allowlist only admits listed emails/domains; invite requires a code; closed rejects every new registration, including GitHub sign-ups, while existing accounts can still log in and verify.
- A failed mode check writes nothing; even a valid invite code is rejected in closed mode.
Allowlist
- The allowlist accepts exact emails and domain suffixes up to 10,000 entries; a domain matches itself and all subdomains, with no wildcard syntax.
- Matching canonicalizes input first: NFKC, lowercase, +tag stripping, Gmail dot folding, and IDN to punycode, so case, full-width, and plus-addressed forms hit the same mailbox.
- CSV import accepts utf-8-sig and CRLF, one column or kind,value, up to 512KB and 10,000 rows; any invalid row rejects the whole import with zero writes.
- The allowlist contains personal data such as email addresses and is visible only to the owner and global admins; additions, deletions, and imports are audited without storing raw emails in audit context.
Errors and related pages
- An allowlist miss returns 403 REGISTRATION_NOT_ALLOWED, closed returns 403 REGISTRATION_CLOSED, bad CSV returns 400 ALLOWLIST_BAD_CSV, and duplicates return 409 ALLOWLIST_DUPLICATE.
- Invite-code rules live in Account & security and Membership & invites; this page covers only the registration gate.

