Diff

plugins/mod_authz_internal.lua @ 13541:3dc3781d02cd

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.
author Kim Alvefur <zash@zash.se>
date Fri, 01 Nov 2024 13:08:35 +0100
parent 13232:e0ab20519ce5
child 13587:fdb2e0568cf8
line wrap: on
line diff
--- a/plugins/mod_authz_internal.lua	Fri Nov 01 13:07:25 2024 +0100
+++ b/plugins/mod_authz_internal.lua	Fri Nov 01 13:08:35 2024 +0100
@@ -265,7 +265,7 @@
 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)