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

View File

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