aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-08-18 14:10:21 +0200
committerKim Alvefur <zash@zash.se>2022-08-18 14:10:21 +0200
commit51b17f1c20421231995d9aecc73e95d7d3e55948 (patch)
tree968fe0c6f06eeb2daf0ecb5759e40d6cda736d8e /core
parent8bed557afd8266b7c5578608c35e973f42669772 (diff)
downloadprosody-51b17f1c20421231995d9aecc73e95d7d3e55948.tar.gz
prosody-51b17f1c20421231995d9aecc73e95d7d3e55948.zip
core.usermanager: Add missing methods to fallback authz provider
Diffstat (limited to 'core')
-rw-r--r--core/usermanager.lua3
1 files changed, 3 insertions, 0 deletions
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;