Add invite-only registration: a new account waits for a confirmed member to VOUCH
Some checks failed
CI / check (push) Failing after 5m12s

This commit is contained in:
Jean Chevronnet 2026-07-20 22:12:54 +00:00
parent 140b19ee04
commit 1c6b8c799f
No known key found for this signature in database
18 changed files with 123 additions and 12 deletions

View file

@ -2190,6 +2190,11 @@ pub trait Store {
fn confusable_check_enabled(&self) -> bool {
true
}
// Whether registration is invite-only ([register] vouch): a new account waits
// for an existing member to VOUCH for it instead of confirming by email.
fn registration_vouch(&self) -> bool {
false
}
// Staff notes on accounts/channels (oper-only), shown in INFO to operators.
fn set_account_note(&mut self, account: &str, note: Option<String>) -> bool;
fn account_note(&self, account: &str) -> Option<String>;