From 6a37ab635638f39f26359fcac9b50844a69dfdcb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 27 Aug 2022 17:01:36 +0200 Subject: core.usermanager: Link to docs for new role API to make warning more actionable --- core/usermanager.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3