Cap and freeze-gate GroupServ registration

This commit is contained in:
Jean Chevronnet 2026-07-19 17:45:04 +00:00
parent 0c85c5b569
commit fa9eaece45
No known key found for this signature in database
4 changed files with 22 additions and 0 deletions

View file

@ -2079,6 +2079,7 @@ pub trait Store {
fn group(&self, name: &str) -> Option<GroupView>;
fn groups(&self) -> Vec<String>;
fn groups_of(&self, account: &str) -> Vec<String>;
fn groups_founded(&self, account: &str) -> usize;
// A user's effective channel capabilities (direct access unioned with groups).
fn channel_caps(&self, channel: &str, account: &str) -> Caps;
// Runtime operator grants (OperServ OPER), merged with config opers. `expires`