Software /
code /
prosody
Changeset
12653:e4a412a54462
core.usermanager: Add missing stub authz methods to global authz provider
Except, should we have a global authz provider at all?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 20 Jul 2022 13:10:47 +0200 |
parents | 12652:30e2a0107217 |
children | 12654:f3dbbc7655e6 |
files | core/usermanager.lua |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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() };