Browse Source

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.
tags/v2.5.0-rc1
Daniel Oaks 3 years ago
parent
commit
cd6d9826b2
2 changed files with 28 additions and 26 deletions
  1. 14
    13
      default.yaml
  2. 14
    13
      traditional.yaml

+ 14
- 13
default.yaml View File

576
 
576
 
577
 # operator classes
577
 # operator classes
578
 oper-classes:
578
 oper-classes:
579
-    # IRC operator: can ban and unban users from the server
580
-    "irc-oper":
579
+    # chat moderator: can ban/unban users from the server, join channels,
580
+    # fix mode issues and sort out vhosts.
581
+    "chat-moderator":
581
         # title shown in WHOIS
582
         # title shown in WHOIS
582
-        title: IRC Operator
583
+        title: Chat Moderator
583
 
584
 
584
         # capability names
585
         # capability names
585
         capabilities:
586
         capabilities:
589
             - "nofakelag"
590
             - "nofakelag"
590
             - "roleplay"
591
             - "roleplay"
591
             - "relaymsg"
592
             - "relaymsg"
593
+            - "vhosts"
594
+            - "sajoin"
595
+            - "samode"
592
 
596
 
593
-    # server admin: has full control of application-level privileges, including
594
-    # nickname and channel registrations
597
+    # server admin: has full control of the ircd, including nickname and
598
+    # channel registrations
595
     "server-admin":
599
     "server-admin":
596
         # title shown in WHOIS
600
         # title shown in WHOIS
597
         title: Server Admin
601
         title: Server Admin
598
 
602
 
599
         # oper class this extends from
603
         # oper class this extends from
600
-        extends: "irc-oper"
604
+        extends: "chat-moderator"
601
 
605
 
602
         # capability names
606
         # capability names
603
         capabilities:
607
         capabilities:
604
             - "rehash"
608
             - "rehash"
605
             - "accreg"
609
             - "accreg"
606
-            - "sajoin"
607
-            - "samode"
608
-            - "vhosts"
609
             - "chanreg"
610
             - "chanreg"
610
             - "history"
611
             - "history"
611
             - "defcon"
612
             - "defcon"
618
         class: "server-admin"
619
         class: "server-admin"
619
 
620
 
620
         # custom whois line
621
         # custom whois line
621
-        whois-line: is a server admin
622
+        whois-line: is the server administrator
622
 
623
 
623
         # custom hostname
624
         # custom hostname
624
         vhost: "staff"
625
         vhost: "staff"
647
         # granted automatically as soon as you connect with the right fingerprint.
648
         # granted automatically as soon as you connect with the right fingerprint.
648
         #auto: true
649
         #auto: true
649
 
650
 
650
-    # example of a second, less privileged operator named 'alice'
651
+    # example of a moderator named 'alice'
651
     # (log in with /OPER alice <password>):
652
     # (log in with /OPER alice <password>):
652
     #alice:
653
     #alice:
653
-    #    class: "irc-oper"
654
-    #    whois-line: "can help with moderation issues"
654
+    #    class: "chat-moderator"
655
+    #    whois-line: "can help with moderation issues!"
655
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
656
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
656
 
657
 
657
 # logging, takes inspiration from Insp
658
 # logging, takes inspiration from Insp

+ 14
- 13
traditional.yaml View File

548
 
548
 
549
 # operator classes
549
 # operator classes
550
 oper-classes:
550
 oper-classes:
551
-    # IRC operator: can ban and unban users from the server
552
-    "irc-oper":
551
+    # chat moderator: can ban/unban users from the server, join channels,
552
+    # fix mode issues and sort out vhosts.
553
+    "chat-moderator":
553
         # title shown in WHOIS
554
         # title shown in WHOIS
554
-        title: IRC Operator
555
+        title: Chat Moderator
555
 
556
 
556
         # capability names
557
         # capability names
557
         capabilities:
558
         capabilities:
561
             - "nofakelag"
562
             - "nofakelag"
562
             - "roleplay"
563
             - "roleplay"
563
             - "relaymsg"
564
             - "relaymsg"
565
+            - "vhosts"
566
+            - "sajoin"
567
+            - "samode"
564
 
568
 
565
-    # server admin: has full control of application-level privileges, including
566
-    # nickname and channel registrations
569
+    # server admin: has full control of the ircd, including nickname and
570
+    # channel registrations
567
     "server-admin":
571
     "server-admin":
568
         # title shown in WHOIS
572
         # title shown in WHOIS
569
         title: Server Admin
573
         title: Server Admin
570
 
574
 
571
         # oper class this extends from
575
         # oper class this extends from
572
-        extends: "irc-oper"
576
+        extends: "chat-moderator"
573
 
577
 
574
         # capability names
578
         # capability names
575
         capabilities:
579
         capabilities:
576
             - "rehash"
580
             - "rehash"
577
             - "accreg"
581
             - "accreg"
578
-            - "sajoin"
579
-            - "samode"
580
-            - "vhosts"
581
             - "chanreg"
582
             - "chanreg"
582
             - "history"
583
             - "history"
583
             - "defcon"
584
             - "defcon"
590
         class: "server-admin"
591
         class: "server-admin"
591
 
592
 
592
         # custom whois line
593
         # custom whois line
593
-        whois-line: is a server admin
594
+        whois-line: is the server administrator
594
 
595
 
595
         # custom hostname
596
         # custom hostname
596
         vhost: "staff"
597
         vhost: "staff"
619
         # granted automatically as soon as you connect with the right fingerprint.
620
         # granted automatically as soon as you connect with the right fingerprint.
620
         #auto: true
621
         #auto: true
621
 
622
 
622
-    # example of a second, less privileged operator named 'alice'
623
+    # example of a moderator named 'alice'
623
     # (log in with /OPER alice <password>):
624
     # (log in with /OPER alice <password>):
624
     #alice:
625
     #alice:
625
-    #    class: "irc-oper"
626
-    #    whois-line: "can help with moderation issues"
626
+    #    class: "chat-moderator"
627
+    #    whois-line: "can help with moderation issues!"
627
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
628
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
628
 
629
 
629
 # logging, takes inspiration from Insp
630
 # logging, takes inspiration from Insp

Loading…
Cancel
Save