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

clean up and clarify example operator blocks

See #1426
This commit is contained in:
Shivaram Lingamneni 2020-12-05 20:40:44 -05:00
parent 23a7221137
commit c8d999c95f
2 changed files with 28 additions and 42 deletions

View File

@ -576,10 +576,10 @@ channels:
# operator classes # operator classes
oper-classes: oper-classes:
# local operator # IRC operator: can ban and unban users from the server
"local-oper": "irc-oper":
# title shown in WHOIS # title shown in WHOIS
title: Local Operator title: IRC Operator
# capability names # capability names
capabilities: capabilities:
@ -590,32 +590,18 @@ oper-classes:
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
# network operator # server admin: has full control of application-level privileges, including
"network-oper": # nickname and channel registrations
# title shown in WHOIS
title: Network Operator
# oper class this extends from
extends: "local-oper"
# capability names
capabilities:
- "remote_kill"
- "remote_ban"
- "remote_unban"
# server admin
"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: "local-oper" extends: "irc-oper"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "die"
- "accreg" - "accreg"
- "sajoin" - "sajoin"
- "samode" - "samode"
@ -626,7 +612,7 @@ oper-classes:
# ircd operators # ircd operators
opers: opers:
# operator named 'admin'; log in with /OPER admin [password] # default operator named 'admin'; log in with /OPER admin <password>
admin: admin:
# which capabilities this oper has access to # which capabilities this oper has access to
class: "server-admin" class: "server-admin"
@ -661,6 +647,13 @@ 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'
# (log in with /OPER alice <password>):
#alice:
# class: "irc-oper"
# whois-line: "can help with moderation issues"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp # logging, takes inspiration from Insp
logging: logging:
- -

View File

@ -548,10 +548,10 @@ channels:
# operator classes # operator classes
oper-classes: oper-classes:
# local operator # IRC operator: can ban and unban users from the server
"local-oper": "irc-oper":
# title shown in WHOIS # title shown in WHOIS
title: Local Operator title: IRC Operator
# capability names # capability names
capabilities: capabilities:
@ -562,32 +562,18 @@ oper-classes:
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
# network operator # server admin: has full control of application-level privileges, including
"network-oper": # nickname and channel registrations
# title shown in WHOIS
title: Network Operator
# oper class this extends from
extends: "local-oper"
# capability names
capabilities:
- "remote_kill"
- "remote_ban"
- "remote_unban"
# server admin
"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: "local-oper" extends: "irc-oper"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "die"
- "accreg" - "accreg"
- "sajoin" - "sajoin"
- "samode" - "samode"
@ -598,7 +584,7 @@ oper-classes:
# ircd operators # ircd operators
opers: opers:
# operator named 'admin'; log in with /OPER admin [password] # default operator named 'admin'; log in with /OPER admin <password>
admin: admin:
# which capabilities this oper has access to # which capabilities this oper has access to
class: "server-admin" class: "server-admin"
@ -633,6 +619,13 @@ 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'
# (log in with /OPER alice <password>):
#alice:
# class: "irc-oper"
# whois-line: "can help with moderation issues"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp # logging, takes inspiration from Insp
logging: logging:
- -