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

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 # operator classes
oper-classes: oper-classes:
# local operator # chat moderator: can ban/unban users from the server, join channels,
"local-oper": # fix mode issues and sort out vhosts.
"chat-moderator":
# title shown in WHOIS # title shown in WHOIS
title: Local Operator title: Chat Moderator
# capability names # capability names
capabilities: capabilities:
@ -589,50 +590,36 @@ oper-classes:
- "nofakelag" - "nofakelag"
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# network operator # server admin: has full control of the ircd, including nickname and
"network-oper": # 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: "chat-moderator"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "die"
- "accreg" - "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg" - "chanreg"
- "history" - "history"
- "defcon" - "defcon"
# 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"
# 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"
@ -661,6 +648,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 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, takes inspiration from Insp
logging: logging:
- -

View File

@ -548,10 +548,11 @@ channels:
# operator classes # operator classes
oper-classes: oper-classes:
# local operator # chat moderator: can ban/unban users from the server, join channels,
"local-oper": # fix mode issues and sort out vhosts.
"chat-moderator":
# title shown in WHOIS # title shown in WHOIS
title: Local Operator title: Chat Moderator
# capability names # capability names
capabilities: capabilities:
@ -561,50 +562,36 @@ oper-classes:
- "nofakelag" - "nofakelag"
- "roleplay" - "roleplay"
- "relaymsg" - "relaymsg"
- "vhosts"
- "sajoin"
- "samode"
# network operator # server admin: has full control of the ircd, including nickname and
"network-oper": # 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: "chat-moderator"
# capability names # capability names
capabilities: capabilities:
- "rehash" - "rehash"
- "die"
- "accreg" - "accreg"
- "sajoin"
- "samode"
- "vhosts"
- "chanreg" - "chanreg"
- "history" - "history"
- "defcon" - "defcon"
# 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"
# 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"
@ -633,6 +620,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 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, takes inspiration from Insp
logging: logging:
- -