From e47e8e7ec7d2efe6bc4ef6269f038ac66767b0ce Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 1 Nov 2024 13:08:35 +0100 Subject: 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. --- plugins/mod_authz_internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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) -- cgit v1.2.3