Add back shared{} module flag which I managed to lose in a git-fubar...
[seven-1.x.git] / doc / ircd-seven-priv-groups
blob94dd5e2ad4a8aaf6d891eb69f944b5897a62348a
1 Current ratbox/charybdis flags:
2     admin (A) -- module loading, "various privileges"
3     remoteban (B) -- set k/xlines, resvs remotely, remote rehash
4     local_kill (C)
5     die (D) -- die, restart
6     gline (G)
7     rehash (H)
8     kline (K) -- kline, dline
9     operwall (L)
10     nick_changes (N)
11     global_kill (O)
12     hidden_oper (P) -- does nothing
13     remote (R) -- remote connect/squit
14     oper_spy (S)
15     unkline (U) -- unkline, undline, ungline iff G is also present
16     xline (X) -- xline, unxline
17     Plus various privileges granted to all opers regardless of
18       flags.
20 Current hyperion flags:
21     Too many to list.
24 Ratbox/charybdis flags corresponding to hyperion privs:
25     Existing ratbox operflags cover:
26         A - nothing I can see.
27         B - irrelevant; all hyperion bans are global
28         C - +K, or part thereof
29         D - +D
30         G - irrelevant; no glines.
31         H - +H
32         K - other half of +K
33         L - +zZ
34         N - +n
35         O - +G
36         P - irrelevant; all hyperion opers are hidden
37         R - +S
38         S - somewhat analogous to +a; see below.
39         U - +U
40         X - no equivalent; hyperion xlines are all done via config.
41     Privileges granted to all opers:
42         All notice umodes except n -- +bcdfklrsxyY
43         Ability to use all STATS commands, though some may be
44             restricted to admin-only in config -- +0123459v
45         Overrides +g -- closest equivalent is probably +6?
46         Ability to wallop and mass-notice -- +MW
47         Flood immunity, higher priority(?) -- +hF
48         Exemption from channel limits -- +u
49         Ability to CONNECT and SQUIT locally -- +R
50         Ability to see routing information -- +V, part of +A
51         Ability to use TRACE and friends -- other half of +A
52         Ability to set oper-only cmodes(+LP) (charybdis only) --
53             this is split between +X and +P in hyperion.
54         Ability to use SCAN -- other half of +X
55         So, all ratbox opers have the equivalent of
56             +bcdfklrsxyY +0123459v +MW +hF +R +VA +X +u6 and the
57             ability to set cmode +P.
58     Hyperion privileges not in ratbox:
59         +BjmNpPT*@. The actions associated with these privilege
60             flags have no analogy. For P@, CHGHOST is supported,
61             but only accepted from remote servers (ie services),
62             not from opers.
63         +a warrants a note: the oper_spy privilege is somewhat
64             analogous, though not entirely. Use of oper spy
65             requires a special form of the command in question,
66             emits snotes to all opers globally with +Z, and is
67             logged.
69 New privilege set:
70     All existing ratbox/charybdis oper flags except BGNPS should
71         stay, with the following additions (naming arbitrary and
72         subject to change):
73     O and C (local and global kill) should be folded together.
74     resv -- this flag is already defined in charybdis, but not
75     implemented. Resurrect it.
76     wallop -- can send wallops (+W)
77     mass_notice -- can send mass notices (+M)
78     routing -- CONNECT, SQUIT, sees through serverhide, view
79         connection settings, stats ? (+R, +VA, +1. +5). Fold 
80         'remote' into this.
81     flood_immune -- immune to flood protection (+F)
82     immune -- allows access to umode +m.
83     override -- join anywhere, talk anywhere, op anywhere (+p)
84     oper_cmodes -- can set +L, +P on channels. (parts of +p, +X)
85     scan -- allows SCAN (part of +X)
86     auspex -- replaces oper_spy and acts like +a.
87     see_bans -- can list network bans and use TESTLINE (+239)
88     helper -- can set equivalent to umode +T
89     Server notice privileges -- set an allowed_snomask field in
90         the oper block controlling what notices can be seen.
92     current flags B, G, N, P are to be removed. S (operspy) is
93         replaced by auspex. N is obsoleted by 'allowed snomasks',
94         G-lines are to be removed since klines are clustered, and
95         P is irrelevant since /stats p is reworked. B (remoteban)
96         is to be implicit in K (kline)
98     All opers can then be granted +u6 -- these are given out by
99         services to non-opers at present, so granted them widely
100         should not be a problem.
102     This leave +BjNP*@ without equivalents. Auto-dline (+j) should
103         be given its own flag if implemented.
106 TODO:
107     stats T (+4). Not sure where to put it.
108     umode +v.
109     TRACE and friends. These reveal routing and some amount of user
110         information (real ip). I suspect the former is more important.