Mercurial > libervia-backend
comparison docker/prosody-e2e/prosody.cfg.lua @ 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 | 73e04040d577 |
children | 22cd3094cd1e |
comparison
equal
deleted
inserted
replaced
3767:fd3fe346a14a | 3768:b443821399a3 |
---|---|
67 | 67 |
68 VirtualHost "server1.test" | 68 VirtualHost "server1.test" |
69 privileged_entities = { | 69 privileged_entities = { |
70 ["pubsub.server1.test"] = { | 70 ["pubsub.server1.test"] = { |
71 roster = "get"; | 71 roster = "get"; |
72 message = "outgoing"; | 72 message = "outgoing"; |
73 presence = "roster"; | 73 presence = "roster"; |
74 iq = { | |
75 ["http://jabber.org/protocol/pubsub"] = "set"; | |
76 }; | |
74 }, | 77 }, |
75 } | 78 } |
76 | 79 |
77 delegations = { | 80 delegations = { |
78 ["urn:xmpp:mam:2"] = { | 81 ["urn:xmpp:mam:2"] = { |
86 jid = "pubsub.server1.test"; | 89 jid = "pubsub.server1.test"; |
87 }, | 90 }, |
88 ["https://salut-a-toi/protocol/schema:0"] = { | 91 ["https://salut-a-toi/protocol/schema:0"] = { |
89 jid = "pubsub.server1.test"; | 92 jid = "pubsub.server1.test"; |
90 }, | 93 }, |
91 ["http://jabber.org/protocol/disco#items:*"] = { | 94 ["https://salut-a-toi.org/spec/pubsub_admin:0"] = { |
92 jid = "pubsub.server1.test"; | 95 jid = "pubsub.server1.test"; |
93 }, | 96 }, |
94 ["https://salut-a-toi.org/spec/pubsub_admin:0"] = { | 97 ["urn:xmpp:pam:0"] = { |
98 jid = "pubsub.server1.test"; | |
99 }, | |
100 ["urn:xmpp:delegation:2:bare:disco#info:*"] = { | |
101 jid = "pubsub.server1.test"; | |
102 }, | |
103 ["urn:xmpp:delegation:2:bare:disco#items:*"] = { | |
95 jid = "pubsub.server1.test"; | 104 jid = "pubsub.server1.test"; |
96 }, | 105 }, |
97 } | 106 } |
98 | 107 |
99 VirtualHost "server2.test" | 108 VirtualHost "server2.test" |