# HG changeset patch # User t.ephraim # Date 1253996456 0 # Node ID f9fcf45e4ce82f147a8b8a4b4fbada68f3259a5d # Parent 3b33fdc7eda2f3dd53b07b4aa068ce42b2538454 Edited wiki page through web user interface. diff -r 3b33fdc7eda2 -r f9fcf45e4ce8 mod_privacy.wiki --- a/mod_privacy.wiki Sat Sep 26 00:25:00 2009 +0000 +++ b/mod_privacy.wiki Sat Sep 26 20:20:56 2009 +0000 @@ -14,10 +14,12 @@ == 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 - -=== special TODO's === - * Privacy lists MUST be the first delivery rule applied by a server, superseding (1) the routing and delivery rules specified in server rules for handling XML stanzas defined in RFC 3921 and (2) the handling of subscription-related presence stanzas (and corresponding generation of roster pushes) specified in RFC 3921. * 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 \ No newline at end of file