Mercurial > libervia-pubsub
diff sat_pubsub/iidavoll.py @ 263:9dfd3890e646
added the constant FLAG_RETRACT_ALLOW_PUBLISHER to allow a publisher to retract an item he has published in a node of "open" publish model.
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 21 Feb 2014 16:10:11 +0100 |
parents | d55620ceafed |
children | 89493845d3dd |
line wrap: on
line diff
--- a/sat_pubsub/iidavoll.py Fri Dec 06 00:37:08 2013 +0100 +++ b/sat_pubsub/iidavoll.py Fri Feb 21 16:10:11 2014 +0100 @@ -573,6 +573,15 @@ """ + def filterItemsWithPublisher(itemIdentifiers, requestor): + """ + Filter the given items by checking the items publisher against the requestor. + + @param itemIdentifiers: C{list} of item ids. + @param requestor: JID of the requestor. + @type requestor: L{JID<twisted.words.protocols.jabber.jid.JID>} + @return: deferred that fires with a C{list} of item identifiers. + """ class IGatewayStorage(Interface):