From 75f2de73207a3e9886e4bc5c86c656a36b5e823b Mon Sep 17 00:00:00 2001 From: Valery V Yatsko Date: Mon, 4 Aug 2008 01:34:59 +0400 Subject: [PATCH 1/2] added privilege system and some new hooks in TODO --- TODO | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 77198bfc7..66ca9535c 100644 --- a/TODO +++ b/TODO @@ -22,10 +22,9 @@ [ ] acknowledgement message for SSL users like '* *** You are connected using SSL cipher "DHE RSA-AES 128 CBC-SHA"' [x] tool for generating ssl certificates and other stuff [x] gnutls backend for at least SSL connections (replacing libcrypto use in m_challenge would be nice too) -[/] merge some stuff from ircd-seven directly (to be determined what) +[x] merge some stuff from ircd-seven directly (to be determined what) [x] remote d:lines support [x] PASS selector:password for auth{} (useful for dynamic IPs) - [ ] +C (noctcp) channel/usermode [F] kline/xline/resv sync [F] make an ability of using bandb instead of .conf files as bans storage [x] drop non-TS6 (legacy protocol) support @@ -36,10 +35,21 @@ [x] some example modules [ ] think on how could we append privilege checking for simple chmode - like chm_staff, but additionaly limited (e. g. IsOperResv etc); possibly move the same code for all functions into separated one and make it extern? + another idea is too make that work with privilege groups, like "serveradmins" or "ircops" [ ] make nick/user/host validation functions/match tables able to work in separated modules, this will help us making support for native characters sets/slashes in host etc [ ] auth checker module [ ] resolver module + [ ] hooks + [ ] can_kick + which modules could we add in charybdis distro? + [ ] can_send_channel + [?] +C (ctcp) + [ ] can_send_user + [?] +C (ctcp) + [ ] privilege system for privilege groups, something like + in .conf: helper { kill_global, rehash, kline_local } + in modules: privilege_add("kill_global"), has_privilege("kill_global") etc, should work the way dynamic cflags/umodes done [x] Remove glines entirely [/] Bug fixes [x] Compilation without zlib headers fails - fixed From 3c77978bcdd7f1e68968a09822ec685628f4ad66 Mon Sep 17 00:00:00 2001 From: Valery V Yatsko Date: Mon, 4 Aug 2008 01:37:18 +0400 Subject: [PATCH 2/2] oups, missed param for has_privilege example function in TODO --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 66ca9535c..445d05c28 100644 --- a/TODO +++ b/TODO @@ -49,7 +49,7 @@ [?] +C (ctcp) [ ] privilege system for privilege groups, something like in .conf: helper { kill_global, rehash, kline_local } - in modules: privilege_add("kill_global"), has_privilege("kill_global") etc, should work the way dynamic cflags/umodes done + in modules: privilege_add("kill_global"), has_privilege(source_p, "kill_global") etc, should work the way dynamic cflags/umodes done [x] Remove glines entirely [/] Bug fixes [x] Compilation without zlib headers fails - fixed