snikket-server/snikket-modules
Matthew Wild 457096a13d mod_snikket_restricted_users: Don't isolate users with no roles
The code was originally written to fail safe in the event of failure, hence
the 'if roles and ...'. However a user with no roles (which is normal for a
normal user, especially on upgrade) can return nil.

Failure is signified by 'false', so now we explicitly catch this and return
early without bypassing isolation. Users with no roles (nil) or with roles
but not prosody:restricted bypass isolation.
2021-11-10 17:27:09 +00:00
..
mod_invites_bootstrap Add bootstrapped admin accounts to the default group/circle (thanks jonas!) 2021-03-16 14:00:10 +00:00
mod_invites_default_group prosody: Give new module the correct directory structure 2021-01-28 21:39:48 +00:00
mod_snikket_client_id prosody: Add module to expose stable client id across sessions 2021-10-18 13:50:36 +01:00
mod_snikket_ios_preserve_push mod_snikket_ios_preserve_push: Handle case where user has no push registrations stored 2021-11-01 10:16:08 +00:00
mod_snikket_restricted_users mod_snikket_restricted_users: Don't isolate users with no roles 2021-11-10 17:27:09 +00:00
mod_update_check Dockerfile, mod_update_check: Update version string format 2021-05-31 12:23:52 +01:00
mod_update_notify mod_update_check, mod_update_notify: Split into multiple modules and finish implementation (see also mod_admin_notify upstream) 2020-11-10 13:10:11 +00:00
.luacheckrc Initial commit 2020-01-31 13:46:46 +00:00