Mercurial > prosody-hg
comparison core/usermanager.lua @ 12657:1ab845e80fe7
usermanager: Fix method name of global authz provider (thanks Zash)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 12 Aug 2022 11:58:25 +0100 |
| parents | af315e5b71f0 |
| children | 7ca5645f46cd |
comparison
equal
deleted
inserted
replaced
| 12656:af315e5b71f0 | 12657:1ab845e80fe7 |
|---|---|
| 53 get_user_default_role = function (user) end; -- luacheck: ignore 212 | 53 get_user_default_role = function (user) end; -- luacheck: ignore 212 |
| 54 get_users_with_role = function (role_name) end; -- luacheck: ignore 212 | 54 get_users_with_role = function (role_name) end; -- luacheck: ignore 212 |
| 55 get_jid_role = function (jid) end; -- luacheck: ignore 212 | 55 get_jid_role = function (jid) end; -- luacheck: ignore 212 |
| 56 set_jid_role = function (jid) end; -- luacheck: ignore 212 | 56 set_jid_role = function (jid) end; -- luacheck: ignore 212 |
| 57 add_default_permission = function (role_name, action, policy) end; -- luacheck: ignore 212 | 57 add_default_permission = function (role_name, action, policy) end; -- luacheck: ignore 212 |
| 58 get_role_info = function (role_name) end; -- luacheck: ignore 212 | 58 get_role_by_name = function (role_name) end; -- luacheck: ignore 212 |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 local provider_mt = { __index = new_null_provider() }; | 61 local provider_mt = { __index = new_null_provider() }; |
| 62 | 62 |
| 63 local function initialize_host(host) | 63 local function initialize_host(host) |
