|
@@ -576,10 +576,10 @@ channels:
|
576
|
576
|
|
577
|
577
|
# operator classes
|
578
|
578
|
oper-classes:
|
579
|
|
- # local operator
|
580
|
|
- "local-oper":
|
|
579
|
+ # IRC operator: can ban and unban users from the server
|
|
580
|
+ "irc-oper":
|
581
|
581
|
# title shown in WHOIS
|
582
|
|
- title: Local Operator
|
|
582
|
+ title: IRC Operator
|
583
|
583
|
|
584
|
584
|
# capability names
|
585
|
585
|
capabilities:
|
|
@@ -590,32 +590,18 @@ oper-classes:
|
590
|
590
|
- "roleplay"
|
591
|
591
|
- "relaymsg"
|
592
|
592
|
|
593
|
|
- # network operator
|
594
|
|
- "network-oper":
|
595
|
|
- # title shown in WHOIS
|
596
|
|
- title: Network Operator
|
597
|
|
-
|
598
|
|
- # oper class this extends from
|
599
|
|
- extends: "local-oper"
|
600
|
|
-
|
601
|
|
- # capability names
|
602
|
|
- capabilities:
|
603
|
|
- - "remote_kill"
|
604
|
|
- - "remote_ban"
|
605
|
|
- - "remote_unban"
|
606
|
|
-
|
607
|
|
- # server admin
|
|
593
|
+ # server admin: has full control of application-level privileges, including
|
|
594
|
+ # nickname and channel registrations
|
608
|
595
|
"server-admin":
|
609
|
596
|
# title shown in WHOIS
|
610
|
597
|
title: Server Admin
|
611
|
598
|
|
612
|
599
|
# oper class this extends from
|
613
|
|
- extends: "local-oper"
|
|
600
|
+ extends: "irc-oper"
|
614
|
601
|
|
615
|
602
|
# capability names
|
616
|
603
|
capabilities:
|
617
|
604
|
- "rehash"
|
618
|
|
- - "die"
|
619
|
605
|
- "accreg"
|
620
|
606
|
- "sajoin"
|
621
|
607
|
- "samode"
|
|
@@ -626,7 +612,7 @@ oper-classes:
|
626
|
612
|
|
627
|
613
|
# ircd operators
|
628
|
614
|
opers:
|
629
|
|
- # operator named 'admin'; log in with /OPER admin [password]
|
|
615
|
+ # default operator named 'admin'; log in with /OPER admin <password>
|
630
|
616
|
admin:
|
631
|
617
|
# which capabilities this oper has access to
|
632
|
618
|
class: "server-admin"
|
|
@@ -661,6 +647,13 @@ opers:
|
661
|
647
|
# granted automatically as soon as you connect with the right fingerprint.
|
662
|
648
|
#auto: true
|
663
|
649
|
|
|
650
|
+ # example of a second, less privileged operator named 'alice'
|
|
651
|
+ # (log in with /OPER alice <password>):
|
|
652
|
+ #alice:
|
|
653
|
+ # class: "irc-oper"
|
|
654
|
+ # whois-line: "can help with moderation issues"
|
|
655
|
+ # password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
|
|
656
|
+
|
664
|
657
|
# logging, takes inspiration from Insp
|
665
|
658
|
logging:
|
666
|
659
|
-
|