view mod_privacy.wiki @ 34:c22cd4ef04b5

Edited wiki page through web user interface.
author t.ephraim
date Sun, 27 Sep 2009 16:53:42 +0000
parents f9fcf45e4ce8
children b6062e1902bf
line wrap: on
line source

#summary XEP-0016: Privacy Lists
#labels Stage-Alpha

= Introduction =

Implements [http://xmpp.org/extensions/xep-0016.html XEP-0016: Privacy Lists]


= Details =

UNFINISHED! Currently in development.



== TODO ==
  * If a client attempts to create or update a list with non-unique order values, the server MUST return to the client a "bad-request" stanza error.
  * If the type is "group", then the 'value' attribute SHOULD contain the name of a group in the user's roster. (If a client attempts to update, create, or delete a list item with a group that is not in the user's roster, the server SHOULD return to the client an "item-not-found" stanza error.)
  * If the type is "subscription", then the 'value' attribute MUST be one of "both", "to", "from", or "none" as defined RFC 3921, where "none" includes entities that are totally unknown to the user and therefore not in the user's roster at all. These values are exact matches, so that "both" means a bidirectional subscription (not "from" or "to" only).
  * If no 'type' attribute is included, the rule provides the "fall-through" case.
  * The 'action' attribute MUST be included and its value MUST be either "allow" or "deny".
  * The 'order' attribute MUST be included and its value MUST be a non-negative integer that is unique among all items in the list. (If a client attempts to create or update a list with non-unique order values, the server MUST return to the client a "bad-request" stanza error.)
  * Examples 29-51
  * When a resource attempts to remove a list or specify a new default list while that list applies to a connected resource other than the sending resource, the server MUST return a "conflict" error to the sending resource and MUST NOT make the requested change.
  * Example 18. Client attempts to change the default list but that list is in use by another resource
  * Example 22. Client attempts to decline a default list but that list is in use by another resource