MemoServ: add STAFF to memo all operators
Some checks failed
CI / check (push) Has been cancelled

This commit is contained in:
Jean Chevronnet 2026-07-16 00:48:50 +00:00
parent c646ccc0ec
commit 961dc870da
No known key found for this signature in database
6 changed files with 90 additions and 1 deletions

View file

@ -1082,6 +1082,12 @@ pub trait Store {
// The live network state a service reads (never mutates directly; changes go out
// as actions on the ServiceCtx).
pub trait NetView {
// Account names of the network's configured operators (MemoServ STAFF). The
// default is empty; the engine's live view overrides it. Runtime OPER grants
// are separate (Store::opers_list) — a caller unions the two.
fn oper_accounts(&self) -> Vec<String> {
Vec::new()
}
fn uid_by_nick(&self, nick: &str) -> Option<&str>;
fn nick_of(&self, uid: &str) -> Option<&str>;
fn host_of(&self, uid: &str) -> Option<&str>;