Merge pull request #1430 from oragono/devel+operblockchanges

fix #1426
This commit is contained in:
Shivaram Lingamneni 2020-12-06 00:11:26 -08:00 committed by GitHub
commit 96fd1c04d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 50 deletions

View File

@ -576,10 +576,11 @@ channels:
# operator classes
oper-classes:
# local operator
"local-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: Local Operator
title: Chat Moderator
# capability names
capabilities:
@ -589,50 +590,36 @@ oper-classes:
- "nofakelag"
- "roleplay"
- "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# network operator
"network-oper":
# 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: 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: "local-oper"
extends: "chat-moderator"
# capability names
capabilities:
- "rehash"
- "die"
- "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg"
- "history"
- "defcon"
# ircd operators
opers:
# operator named 'admin'; log in with /OPER admin [password]
# default operator named 'admin'; log in with /OPER admin <password>
admin:
# which capabilities this oper has access to
class: "server-admin"
# custom whois line
whois-line: is a server admin
whois-line: is the server administrator
# custom hostname
vhost: "staff"
@ -661,6 +648,13 @@ opers:
# granted automatically as soon as you connect with the right fingerprint.
#auto: true
# example of a moderator named 'alice'
# (log in with /OPER alice <password>):
#alice:
# class: "chat-moderator"
# whois-line: "can help with moderation issues!"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp
logging:
-

View File

@ -548,10 +548,11 @@ channels:
# operator classes
oper-classes:
# local operator
"local-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: Local Operator
title: Chat Moderator
# capability names
capabilities:
@ -561,50 +562,36 @@ oper-classes:
- "nofakelag"
- "roleplay"
- "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# network operator
"network-oper":
# 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: 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: "local-oper"
extends: "chat-moderator"
# capability names
capabilities:
- "rehash"
- "die"
- "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg"
- "history"
- "defcon"
# ircd operators
opers:
# operator named 'admin'; log in with /OPER admin [password]
# default operator named 'admin'; log in with /OPER admin <password>
admin:
# which capabilities this oper has access to
class: "server-admin"
# custom whois line
whois-line: is a server admin
whois-line: is the server administrator
# custom hostname
vhost: "staff"
@ -633,6 +620,13 @@ opers:
# granted automatically as soon as you connect with the right fingerprint.
#auto: true
# example of a moderator named 'alice'
# (log in with /OPER alice <password>):
#alice:
# class: "chat-moderator"
# whois-line: "can help with moderation issues!"
# password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
# logging, takes inspiration from Insp
logging:
-