Software /
code /
prosody
Changeset
12656:af315e5b71f0
usermanager: Remove obsolete function from global authz provider
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 11 Aug 2022 16:56:59 +0100 |
parents | 12655:a5a0783e9241 |
children | 12657:1ab845e80fe7 |
files | core/usermanager.lua |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/core/usermanager.lua Thu Aug 11 16:47:09 2022 +0100 +++ b/core/usermanager.lua Thu Aug 11 16:56:59 2022 +0100 @@ -43,11 +43,6 @@ local admin_role = { ["prosody:admin"] = true }; local global_authz_provider = { get_user_roles = function (user) end; --luacheck: ignore 212/user - get_jid_roles = function (jid) - if global_admins:contains(jid) then - return admin_role; - end - end; get_jids_with_role = function (role) if role ~= "prosody:admin" then return {}; end return it.to_array(global_admins);