ejabberd
ejabberd copied to clipboard
PEP should support whitelist access_model
When configuring a PEP node with access_model to whitelist and publish_model to open (in use for social notifications), the roster users which might only receive their own node notifications by subscribing to it through disco#infos with +notify receive ejabberd's roster users notifications for this node. The XEP-0060 stipulates that for +notify, only nodes which have access_model to roster, presence or open can send notifications to all the buddy list. With whitelist value, only the owner can receive them.
If PEP node has whitelist access_model, is must send event only to entities with explicit "member" affiliation, which also have the +notify capability.
After https://github.com/processone/ejabberd/commit/1cdca1ab99c8a0dfd7cab8a760a65840067bea16 Conversations can't hold bookmarks any more (add them, restart client, no bookmarks), although both private_storage
and pubsub_item
show the bookmark entry.
See my try to debug this around here: https://process-one.net/logs/[email protected]/2018/11/28.html#11:25:47.762292
@weiss so this is fixed then?
so this is fixed then?
Only partially: It works for the self-notification case now (which is probably the most interesting case in practice), but not for other whitelisted JIDs.
anything new on this?