457096a13d
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. |
||
---|---|---|
.. | ||
mod_invites_bootstrap | ||
mod_invites_default_group | ||
mod_snikket_client_id | ||
mod_snikket_ios_preserve_push | ||
mod_snikket_restricted_users | ||
mod_update_check | ||
mod_update_notify | ||
.luacheckrc |