diff options
author | Kim Alvefur <zash@zash.se> | 2022-08-27 17:01:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-08-27 17:01:36 +0200 |
commit | 6a37ab635638f39f26359fcac9b50844a69dfdcb (patch) | |
tree | ad43a261c047ca79cd4b886061a573e75bd08449 /core | |
parent | 6926340d75370f106ad8694041d9b3f4e0078bdb (diff) | |
download | prosody-6a37ab635638f39f26359fcac9b50844a69dfdcb.tar.gz prosody-6a37ab635638f39f26359fcac9b50844a69dfdcb.zip |
core.usermanager: Link to docs for new role API to make warning more actionable
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index 2c469269..fcb1fa9b 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -234,6 +234,7 @@ local function is_admin(jid, host) return false; end log("warn", "Usage of legacy is_admin() API, which will be disabled in a future build: %s", debug.traceback()); + log("warn", "See https://prosody.im/doc/developers/permissions about the new permissions API"); return legacy_admin_roles[get_jid_role(jid, host)] or false; end |