0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 21:08:57 +01:00
construct/modules/core
Elizabeth Jennifer Myers 8aabb973c0 Implement chanroles, as discussed with nenolod.
The theory behind this is that services sends an ENCAP * GRANT #channel
UID :+flagspec message specifying the chanroles the user has. They are
mapped into flag bits and applied to the membership of the user. They
then are restricted or permitted to what they can do based on the
permissions mask regardless of rank.

For backwards compatibility, the default permission bit (without a GRANT
statement) allows a user to to anything an existing op can do ONLY if
they are an op.

Todo: make CHANROLE_STATUS work (the ability to apply +ov to people),
which is at the moment controlled by CHANROLE_MODE.
2011-07-06 13:46:22 -04:00
..
m_ban.c Provide an error message when a user does /quote ban. 2010-08-29 15:16:47 +02:00
m_die.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_error.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_join.c Allow kick_on_split_riding to protect channels with mlocked keys. 2011-04-06 19:05:08 +02:00
m_kick.c Implement chanroles, as discussed with nenolod. 2011-07-06 13:46:22 -04:00
m_kill.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_message.c Move flood_attack_channel to channel.c so it can be used outside m_message.c 2010-12-09 18:29:56 -05:00
m_mode.c Enforce TS rules on MLOCKs. 2010-08-23 20:22:59 -05:00
m_nick.c Add capability parameter to sendto_common_channels_local() and sendto_common_channels_local_butone(). 2010-12-15 22:55:05 -06:00
m_part.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_quit.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_server.c Add support for linking using SSL certificate fingerprints as the link credential rather than the traditional server-password pair. 2010-12-13 23:14:00 -06:00
m_squit.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00