From 51b17f1c20421231995d9aecc73e95d7d3e55948 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 18 Aug 2022 14:10:21 +0200 Subject: core.usermanager: Add missing methods to fallback authz provider --- core/usermanager.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/usermanager.lua b/core/usermanager.lua index 03b27327..4bb63477 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -42,9 +42,12 @@ local fallback_authz_provider = { get_user_role = function (user) end; set_user_role = function (user, roles) end; + get_user_secondary_roles = function (user) end; add_user_secondary_role = function (user, host, role_name) end; remove_user_secondary_role = function (user, host, role_name) end; + user_can_assume_role = function(user, role_name) end; + get_jid_role = function (jid) end; set_jid_role = function (jid, role) end; -- cgit v1.2.3