Ver código fonte

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 anos atrás
pai
commit
cd6d9826b2
2 arquivos alterados com 28 adições e 26 exclusões
  1. 14
    13
      default.yaml
  2. 14
    13
      traditional.yaml

+ 14
- 13
default.yaml Ver arquivo

@@ -576,10 +576,11 @@ channels:
576 576
 
577 577
 # operator classes
578 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 582
         # title shown in WHOIS
582
-        title: IRC Operator
583
+        title: Chat Moderator
583 584
 
584 585
         # capability names
585 586
         capabilities:
@@ -589,23 +590,23 @@ oper-classes:
589 590
             - "nofakelag"
590 591
             - "roleplay"
591 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 599
     "server-admin":
596 600
         # title shown in WHOIS
597 601
         title: Server Admin
598 602
 
599 603
         # oper class this extends from
600
-        extends: "irc-oper"
604
+        extends: "chat-moderator"
601 605
 
602 606
         # capability names
603 607
         capabilities:
604 608
             - "rehash"
605 609
             - "accreg"
606
-            - "sajoin"
607
-            - "samode"
608
-            - "vhosts"
609 610
             - "chanreg"
610 611
             - "history"
611 612
             - "defcon"
@@ -618,7 +619,7 @@ opers:
618 619
         class: "server-admin"
619 620
 
620 621
         # custom whois line
621
-        whois-line: is a server admin
622
+        whois-line: is the server administrator
622 623
 
623 624
         # custom hostname
624 625
         vhost: "staff"
@@ -647,11 +648,11 @@ opers:
647 648
         # granted automatically as soon as you connect with the right fingerprint.
648 649
         #auto: true
649 650
 
650
-    # example of a second, less privileged operator named 'alice'
651
+    # example of a moderator named 'alice'
651 652
     # (log in with /OPER alice <password>):
652 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 656
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
656 657
 
657 658
 # logging, takes inspiration from Insp

+ 14
- 13
traditional.yaml Ver arquivo

@@ -548,10 +548,11 @@ channels:
548 548
 
549 549
 # operator classes
550 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 554
         # title shown in WHOIS
554
-        title: IRC Operator
555
+        title: Chat Moderator
555 556
 
556 557
         # capability names
557 558
         capabilities:
@@ -561,23 +562,23 @@ oper-classes:
561 562
             - "nofakelag"
562 563
             - "roleplay"
563 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 571
     "server-admin":
568 572
         # title shown in WHOIS
569 573
         title: Server Admin
570 574
 
571 575
         # oper class this extends from
572
-        extends: "irc-oper"
576
+        extends: "chat-moderator"
573 577
 
574 578
         # capability names
575 579
         capabilities:
576 580
             - "rehash"
577 581
             - "accreg"
578
-            - "sajoin"
579
-            - "samode"
580
-            - "vhosts"
581 582
             - "chanreg"
582 583
             - "history"
583 584
             - "defcon"
@@ -590,7 +591,7 @@ opers:
590 591
         class: "server-admin"
591 592
 
592 593
         # custom whois line
593
-        whois-line: is a server admin
594
+        whois-line: is the server administrator
594 595
 
595 596
         # custom hostname
596 597
         vhost: "staff"
@@ -619,11 +620,11 @@ opers:
619 620
         # granted automatically as soon as you connect with the right fingerprint.
620 621
         #auto: true
621 622
 
622
-    # example of a second, less privileged operator named 'alice'
623
+    # example of a moderator named 'alice'
623 624
     # (log in with /OPER alice <password>):
624 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 628
     #    password: "$2a$04$0123456789abcdef0123456789abcdef0123456789abcdef01234"
628 629
 
629 630
 # logging, takes inspiration from Insp

Carregando…
Cancelar
Salvar