diff sat_pubsub/const.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 f0cd02c032b3
children 8a71486c3e95
line wrap: on
line diff
--- a/sat_pubsub/const.py	Fri Dec 06 00:37:08 2013 +0100
+++ b/sat_pubsub/const.py	Fri Feb 21 16:10:11 2014 +0100
@@ -66,3 +66,5 @@
 VAL_PMODEL_SUBSCRIBERS = 'subscribers'
 VAL_PMODEL_OPEN = 'open'
 VAL_PMODEL_DEFAULT = VAL_PMODEL_PUBLISHERS
+
+FLAG_RETRACT_ALLOW_PUBLISHER = True  # XXX: see the method BackendService._doRetractAllowPublisher