Mercurial > libervia-backend
changeset 3768:b443821399a3
docker (prosody-e2e): update Prosody's conf:
Due to mod_privilege and PAM implementation in Libervia Pubsub, permissions have been
udpated in `prosody.cfg.lua`, with the new `iq` permission and namespace delegation needed
for PAM.
`"urn:xmpp:delegation:2:bare:disco#info:*"` namespace delegation was also missing.
rel 365
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 13 May 2022 19:24:38 +0200 |
parents | fd3fe346a14a |
children | a75874df92b8 |
files | docker/prosody-e2e/prosody.cfg.lua |
diffstat | 1 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/prosody-e2e/prosody.cfg.lua Fri May 13 19:21:17 2022 +0200 +++ b/docker/prosody-e2e/prosody.cfg.lua Fri May 13 19:24:38 2022 +0200 @@ -69,8 +69,11 @@ privileged_entities = { ["pubsub.server1.test"] = { roster = "get"; - message = "outgoing"; + message = "outgoing"; presence = "roster"; + iq = { + ["http://jabber.org/protocol/pubsub"] = "set"; + }; }, } @@ -88,10 +91,16 @@ ["https://salut-a-toi/protocol/schema:0"] = { jid = "pubsub.server1.test"; }, - ["http://jabber.org/protocol/disco#items:*"] = { + ["https://salut-a-toi.org/spec/pubsub_admin:0"] = { jid = "pubsub.server1.test"; }, - ["https://salut-a-toi.org/spec/pubsub_admin:0"] = { + ["urn:xmpp:pam:0"] = { + jid = "pubsub.server1.test"; + }, + ["urn:xmpp:delegation:2:bare:disco#info:*"] = { + jid = "pubsub.server1.test"; + }, + ["urn:xmpp:delegation:2:bare:disco#items:*"] = { jid = "pubsub.server1.test"; }, }