diff options
author | Kim Alvefur <zash@zash.se> | 2024-11-01 13:08:35 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-11-01 13:08:35 +0100 |
commit | e47e8e7ec7d2efe6bc4ef6269f038ac66767b0ce (patch) | |
tree | b7470ddbcfa56b834c9b58eeb8bd8da6dcd77df9 | |
parent | 577e6d837003adf5393c89802f028145cccec54c (diff) | |
download | prosody-e47e8e7ec7d2efe6bc4ef6269f038ac66767b0ce.tar.gz prosody-e47e8e7ec7d2efe6bc4ef6269f038ac66767b0ce.zip |
mod_authz_internal: Hint at roles for external JIDs being read-only
Roles for JIDs outside the current host are derived from configuration
only with this module.
-rw-r--r-- | plugins/mod_authz_internal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_authz_internal.lua b/plugins/mod_authz_internal.lua index 96324734..07091a04 100644 --- a/plugins/mod_authz_internal.lua +++ b/plugins/mod_authz_internal.lua @@ -265,7 +265,7 @@ function get_jid_role(jid) end function set_jid_role(jid, role_name) -- luacheck: ignore 212 - return false; + return false, "not-implemented"; end function get_jids_with_role(role_name) |