3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 07:29:31 +01:00

Tweaked oper blocks.

I think that 'moderator vs admin' is a pretty common set of priv levels,
whereas 'oper vs admin' is a little confusing, esp. to less irc-savvy
people.

/SAJOIN and /SAMODE are really common for joining channels to check out
what's going on and for e.g. opping someone when nobody in the channel
is opered, so it makes sense for mods to have those. I feel similarly
about vhosts, they're usually something that's delegated to less-prived
opers.

Changed the whois line from 'a server admin' to 'the server admin' to
make it a bit more clear that this is one single user, rather than a set
of privs to be shared. And it's a tiny thing, but removed the 'less
privileged' term from alice's oper block because it felt a bit dodgy.
This commit is contained in:
Daniel Oaks 2020-12-06 17:01:32 +10:00
parent c8d999c95f
commit cd6d9826b2
2 changed files with 28 additions and 26 deletions

View File

@ -576,10 +576,11 @@ channels:
# operator classes # operator classes
oper-classes: oper-classes:
# IRC operator: can ban and unban users from the server # chat moderator: can ban/unban users from the server, join channels,
"irc-oper": # fix mode issues and sort out vhosts.
"chat-moderator":
# title shown in WHOIS # title shown in WHOIS
title: IRC Operator title: Chat Moderator
# capability names # capability names
capabilities: capabilities:
@ -589,23 +590,23 @@ oper-classes:
- "nofakelag" - "nofakelag"
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# server admin: has full control of application-level privileges, including # server admin: has full control of the ircd, including nickname and
# nickname and channel registrations # channel registrations
"server-admin": "server-admin":
# title shown in WHOIS # title shown in WHOIS
title: Server Admin title: Server Admin
# oper class this extends from # oper class this extends from
extends: "irc-oper" extends: "chat-moderator"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "accreg" - "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg" - "chanreg"
- "history" - "history"
- "defcon" - "defcon"
@ -618,7 +619,7 @@ opers:
class: "server-admin" class: "server-admin"
# custom whois line # custom whois line
whois-line: is a server admin whois-line: is the server administrator
# custom hostname # custom hostname
vhost: "staff" vhost: "staff"
@ -647,11 +648,11 @@ opers:
# granted automatically as soon as you connect with the right fingerprint. # granted automatically as soon as you connect with the right fingerprint.
#auto: true #auto: true
# example of a second, less privileged operator named 'alice' # example of a moderator named 'alice'
# (log in with /OPER alice <password>): # (log in with /OPER alice <password>):
#alice: #alice:
# class: "irc-oper" # class: "chat-moderator"
# whois-line: "can help with moderation issues" # whois-line: "can help with moderation issues!"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234" # password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp # logging, takes inspiration from Insp

View File

@ -548,10 +548,11 @@ channels:
# operator classes # operator classes
oper-classes: oper-classes:
# IRC operator: can ban and unban users from the server # chat moderator: can ban/unban users from the server, join channels,
"irc-oper": # fix mode issues and sort out vhosts.
"chat-moderator":
# title shown in WHOIS # title shown in WHOIS
title: IRC Operator title: Chat Moderator
# capability names # capability names
capabilities: capabilities:
@ -561,23 +562,23 @@ oper-classes:
- "nofakelag" - "nofakelag"
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# server admin: has full control of application-level privileges, including # server admin: has full control of the ircd, including nickname and
# nickname and channel registrations # channel registrations
"server-admin": "server-admin":
# title shown in WHOIS # title shown in WHOIS
title: Server Admin title: Server Admin
# oper class this extends from # oper class this extends from
extends: "irc-oper" extends: "chat-moderator"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "accreg" - "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg" - "chanreg"
- "history" - "history"
- "defcon" - "defcon"
@ -590,7 +591,7 @@ opers:
class: "server-admin" class: "server-admin"
# custom whois line # custom whois line
whois-line: is a server admin whois-line: is the server administrator
# custom hostname # custom hostname
vhost: "staff" vhost: "staff"
@ -619,11 +620,11 @@ opers:
# granted automatically as soon as you connect with the right fingerprint. # granted automatically as soon as you connect with the right fingerprint.
#auto: true #auto: true
# example of a second, less privileged operator named 'alice' # example of a moderator named 'alice'
# (log in with /OPER alice <password>): # (log in with /OPER alice <password>):
#alice: #alice:
# class: "irc-oper" # class: "chat-moderator"
# whois-line: "can help with moderation issues" # whois-line: "can help with moderation issues!"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234" # password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp # logging, takes inspiration from Insp