[Standards] Deprecating Privacy Lists

Christian Schudt christian.schudt at gmx.de
Wed Sep 30 14:23:45 UTC 2015


> Hmm, not sure if you can translate this to xep191. What happens if a
> xep191 client removes a jid entry which was added by the server because
> the jid is the 'enemies' group?

The server should map in both ways, i.e. reflect changes to XEP-0191 into the privacy lists, and also reflect changes in privacy lists to block lists.
In this specific case, the server would modify the privacy list by adding a rule (before the old rule), which allows the removed JID:

<item type='jid'
          value='tybalt at example.com'
          action='allow'
          order='1'/>

The server would then allow traffic from this user, but would still block everyone else from the "Enemies" group.

Such mapping in both directions can probably be complicated, but it shouldn't be impossible with well defined mapping rules.

Generating a block list from a privacy list should be easy, because it's just a small subset.
Merging changes in a block list to an existing privacy list (as in the example above) is more tricky, but certainly doable.
 


More information about the Standards mailing list