Mercurial > libervia-pubsub
view idavoll/implementation_issues.txt @ 150:35977eb964e6
Use uuid.py module [1] for generating unique id's for nodes and items.
Factor out authorization checking.
[1] http://ofxsuite.berlios.de/uuid.py
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Tue, 04 Oct 2005 12:17:01 +0000 |
parents | 3ad74552bbc7 |
children |
line wrap: on
line source
- What happens when a node creation request is accompanied by a configure node, but node configuration is not implemented? Solution: Reply with a not-acceptable stanza error, with a node-not-configurable error attached. - Node purging with many items in storage and notification of retraction enabled could produce a large number of notifications. Suggestion: instead send a <event><purge/></event> - Examples 58 and 62 are the same - What error to return for outcast user requests? - What if some admin requested it? - Why not return forbidden when JIDs do not match on subscription? - What to do when receiving an unsubscription request with a subid, when subids are not supported? Ignore or reply with bad-request? - unsubscription: why check for the requestor being subscribed. You want to check if the jid is subscribed. An not-authorized can be sent if the requestor and jid don't match. Otherwise, unexpected-request might be appropriate when the jid is not subscribed along with a special child element of not-subscribed in the pubsub#error namespace. - 8.1.7 states: If subscription identifiers are supported by the service and the entity's subscription is not NONE or OUTCAST, the 'subid' attribute MUST be present as well as the 'jid' attribute. There is no such thing as a subscription of 'OUTCAST'. Also, I'm not sure why NONE is capitalized. - On meta-data: http://mail.jabber.org/pipermail/standards-jig/2004-July/005783.html Assumed meta-data as per JEP-0128 is indeed optional, advertised with the pubsub#meta-data disco feature. Also, how do you actually set this meta-data information? - on items attribute max_items. xs:string?? - no disco feature for retracting items, purging nodes, deleting nodes, other owner use cases? - no pubsub#error for bad node configuration options? - configure in pubsub#owner namespace??