From bd2b2af7b736d9ef13be1228432443592fbaf6cd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 12 Aug 2022 11:58:25 +0100 Subject: usermanager: Fix method name of global authz provider (thanks Zash) --- core/usermanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/usermanager.lua b/core/usermanager.lua index 9adf1f25..a299f9d9 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -55,7 +55,7 @@ local global_authz_provider = { get_jid_role = function (jid) end; -- luacheck: ignore 212 set_jid_role = function (jid) end; -- luacheck: ignore 212 add_default_permission = function (role_name, action, policy) end; -- luacheck: ignore 212 - get_role_info = function (role_name) end; -- luacheck: ignore 212 + get_role_by_name = function (role_name) end; -- luacheck: ignore 212 }; local provider_mt = { __index = new_null_provider() }; -- cgit v1.2.3