Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 16:28:57 +0100] rev 12911
mod_c2s: Disconnect accounts when they are disabled
We decided that at the first stage, accounts that are disabled should
simply be prevented from authenticating, thus they should also be
prevented from having connected sessions. Since this is aimed to be a
moderation action for cases of abuse, they shouldn't be allowed to
continue being connected.
Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 16:25:31 +0100] rev 12910
core.usermanager: Fire events when enabling and disabling users
Allow modules to act on this state change, e.g. kick accounts etc.
Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 16:24:41 +0100] rev 12909
core.usermanager: Add methods for enabling and disabling users
Calling into the auth module, where available.
Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 16:04:02 +0100] rev 12908
core.usermanager: Add Teal description file
Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 14:44:35 +0100] rev 12907
mod_auth_internal_hashed: Implement methods to enable and disable users
Kim Alvefur <zash@zash.se> [Thu, 23 Feb 2023 14:34:10 +0100] rev 12906
mod_auth_internal_hashed: Implement is_enabled() method
Uses 'disabled' property already introduced in aed38948791f
Kim Alvefur <zash@zash.se> [Wed, 22 Feb 2023 15:32:40 +0100] rev 12905
mod_auth_internal_hashed: Add stub methods for enabling and disabling users
But how and where?
Kim Alvefur <zash@zash.se> [Wed, 22 Feb 2023 13:27:08 +0100] rev 12904
mod_auth_internal_hashed: Refactor to prepare for disabling users
Moving this out will make space for a dynamic check whether a particular
user is disabled or not, which is one possible response to abuse of
account privileges.
Kim Alvefur <zash@zash.se> [Wed, 22 Feb 2023 22:29:53 +0100] rev 12903
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Wed, 22 Feb 2023 22:27:42 +0100] rev 12902
util.prosodyctl.check: Suggest 'http_cors_override' instead of older CORS settings
The cross_domain_* settings were added here prior to http_cors_override
being added back in 17d87fb2312a, so for a time there was no
replacement, but now there is.