opers: TokenList -deny exclusion for commands/privs + auspex-gate hidden chans
commands=/privs= now honour a -token removal (e.g. *,-DIE), threaded through resolve as deny sets and applied in the command gate + has_priv. WHOIS of a +I (hidechans) user's channel list now needs users/auspex, not any oper.
This commit is contained in:
parent
e2a64b7806
commit
55863e9cfe
3 changed files with 67 additions and 25 deletions
|
|
@ -91,7 +91,9 @@ oper {
|
|||
# grant is refused; its modes/snomasks/vhost are applied on oper-up.
|
||||
#
|
||||
# A class also grants privileges — named permissions checked at sensitive points.
|
||||
# "privs=*" grants all. Standard privileges:
|
||||
# "*" grants all; a "-token" removes one, so "commands=*,-DIE" is everything but DIE and
|
||||
# "privs=*,-users/auspex" is every privilege but that (works for commands and privs).
|
||||
# Standard privileges:
|
||||
# users/auspex real host+IP and geo (WHOIS/WHO + connect notice), +i users
|
||||
# channels/auspex secret/private (+s/+p) channels in LIST/WHO/WHOIS
|
||||
# servers/auspex services (U-lined) servers hidden by hideservices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue