diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-20 13:10:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-20 13:10:47 +0200 |
commit | a88c982ae232f85bbf30401aa7690dbccc482866 (patch) | |
tree | 5a1009c6d018a4069c56073b81b3d93f466646ad /core | |
parent | cdd5608f4a42e7740536d09eeda14451924c9657 (diff) | |
download | prosody-a88c982ae232f85bbf30401aa7690dbccc482866.tar.gz prosody-a88c982ae232f85bbf30401aa7690dbccc482866.zip |
core.usermanager: Add missing stub authz methods to global authz provider
Except, should we have a global authz provider at all?
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index af82c940..ec782906 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -54,6 +54,13 @@ local global_authz_provider = { 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() }; |