# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1660301905 -3600
# Node ID 1ab845e80fe7a373d579df0f046473b4143e870d
# Parent  af315e5b71f0e15bf286ce9cfa5a0a8eadcf5e2c
usermanager: Fix method name of global authz provider (thanks Zash)

diff -r af315e5b71f0 -r 1ab845e80fe7 core/usermanager.lua
--- a/core/usermanager.lua	Thu Aug 11 16:56:59 2022 +0100
+++ b/core/usermanager.lua	Fri Aug 12 11:58:25 2022 +0100
@@ -55,7 +55,7 @@
 	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() };