ejabberd icon indicating copy to clipboard operation
ejabberd copied to clipboard

PEP should support whitelist access_model

Open cromain opened this issue 7 years ago • 4 comments

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.

cromain avatar Feb 28 '17 12:02 cromain

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

licaon-kter avatar Nov 28 '18 13:11 licaon-kter

@weiss so this is fixed then?

licaon-kter avatar Dec 06 '18 09:12 licaon-kter

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.

weiss avatar Dec 06 '18 10:12 weiss

anything new on this?

tmolitor-stud-tu avatar Jun 05 '22 22:06 tmolitor-stud-tu