Changeset

12665:314bad8907fd

core.usermanager: Add missing methods to fallback authz provider
author Kim Alvefur <zash@zash.se>
date Thu, 18 Aug 2022 14:10:21 +0200
parents 12664:05d5f25a3c61
children 12666:7869da467087
files core/usermanager.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/usermanager.lua	Thu Aug 18 14:07:54 2022 +0200
+++ b/core/usermanager.lua	Thu Aug 18 14:10:21 2022 +0200
@@ -42,9 +42,12 @@
 	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;