# HG changeset patch # User Kim Alvefur # Date 1658315447 -7200 # Node ID e4a412a54462ec8980ce76848564d86c678f513e # Parent 30e2a01072178da80793b3d73e3f9c44933ec9ce core.usermanager: Add missing stub authz methods to global authz provider Except, should we have a global authz provider at all? diff -r 30e2a0107217 -r e4a412a54462 core/usermanager.lua --- a/core/usermanager.lua Wed Jul 20 13:08:07 2022 +0200 +++ b/core/usermanager.lua Wed Jul 20 13:10:47 2022 +0200 @@ -54,6 +54,13 @@ end; set_user_roles = function (user, roles) end; -- luacheck: ignore 212 set_jid_roles = function (jid, roles) end; -- luacheck: ignore 212 + + get_user_default_role = function (user) end; -- luacheck: ignore 212 + get_users_with_role = function (role_name) end; -- luacheck: ignore 212 + 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 }; local provider_mt = { __index = new_null_provider() };