modify privsets

create feesh privset with permissions for making announcements

move rehash permission from jellyfish to wombat, its not much of an
attack vector
This commit is contained in:
xfnw 2022-07-04 19:15:17 -04:00
parent 5e32c8e7eb
commit 4066320bfd

13
ircd.j2
View file

@ -73,13 +73,18 @@ listen {
privset "wombat" { privset "wombat" {
privs = oper:general, oper:kline, oper:unkline, oper:xline, oper:kill, oper:testline, privs = oper:general, oper:kline, oper:unkline, oper:xline, oper:kill, oper:testline,
oper:privs, oper:resv, oper:cmodes, oper:mass_notice, oper:remoteban, usermode:helpops, oper:privs, oper:resv, oper:cmodes, oper:rehash, oper:remoteban, usermode:helpops,
oper:message, oper:operwall, auspex:oper, auspex:hostname, auspex:umodes, oper:message, oper:operwall, auspex:oper, auspex:hostname, auspex:umodes,
auspex:cmodes, oper:receive_immunity, oper:wallops; auspex:cmodes, oper:receive_immunity;
};
privset "feesh" {
extends = "wombat";
privs = oper:mass_notice, oper:wallops;
}; };
privset "dingo" { privset "dingo" {
extends = "wombat"; extends = "feesh";
privs = oper:override, oper:ojoin, privs = oper:override, oper:ojoin,
oper:dehelper, usermode:servnotice; oper:dehelper, usermode:servnotice;
}; };
@ -96,7 +101,7 @@ privset "bandicoot" {
privset "jellyfish" { privset "jellyfish" {
extends = "bandicoot"; extends = "bandicoot";
privs = oper:admin, oper:die, oper:rehash, oper:spy, oper:grant; privs = oper:admin, oper:die, oper:spy, oper:grant;
}; };
{% include 'operator.j2' %} {% include 'operator.j2' %}