aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-11-01 13:08:35 +0100
committerKim Alvefur <zash@zash.se>2024-11-01 13:08:35 +0100
commite47e8e7ec7d2efe6bc4ef6269f038ac66767b0ce (patch)
treeb7470ddbcfa56b834c9b58eeb8bd8da6dcd77df9
parent577e6d837003adf5393c89802f028145cccec54c (diff)
downloadprosody-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.lua2
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)