Mercurial > libervia-backend
comparison src/tmp/wokkel/pubsub.py @ 2202:7f91b894bfdf
tmp (wokkel/pubsub): fixed affiliations (normal entity) handling
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 23 Mar 2017 20:59:25 +0100 |
parents | 95dc90f1065a |
children | 582359de7268 |
comparison
equal
deleted
inserted
replaced
2201:40dd9eb2692c | 2202:7f91b894bfdf |
---|---|
332 'subscribe': ['nodeOrEmpty', 'jid', 'optionsWithSubscribe'], | 332 'subscribe': ['nodeOrEmpty', 'jid', 'optionsWithSubscribe'], |
333 'unsubscribe': ['nodeOrEmpty', 'jid', 'subidOrNone'], | 333 'unsubscribe': ['nodeOrEmpty', 'jid', 'subidOrNone'], |
334 'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'], | 334 'optionsGet': ['nodeOrEmpty', 'jid', 'subidOrNone'], |
335 'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'], | 335 'optionsSet': ['nodeOrEmpty', 'jid', 'options', 'subidOrNone'], |
336 'subscriptions': [], | 336 'subscriptions': [], |
337 'affiliations': [], | 337 'affiliations': ['nodeOrNone'], |
338 'create': ['nodeOrNone', 'configureOrNone'], | 338 'create': ['nodeOrNone', 'configureOrNone'], |
339 'default': ['default'], | 339 'default': ['default'], |
340 'configureGet': ['nodeOrEmpty'], | 340 'configureGet': ['nodeOrEmpty'], |
341 'configureSet': ['nodeOrEmpty', 'configureOrNone'], | 341 'configureSet': ['nodeOrEmpty', 'configureOrNone'], |
342 'items': ['node', 'maxItems', 'itemIdentifiers', 'subidOrNone'], | 342 'items': ['node', 'maxItems', 'itemIdentifiers', 'subidOrNone'], |
1635 def delete(self, request): | 1635 def delete(self, request): |
1636 return defer.fail(Unsupported('delete-nodes')) | 1636 return defer.fail(Unsupported('delete-nodes')) |
1637 | 1637 |
1638 | 1638 |
1639 def affiliationsGet(self, request): | 1639 def affiliationsGet(self, request): |
1640 return defer.fail(Unsupported('modify-affiliations')) | 1640 return defer.fail(Unsupported('retrieve-affiliations')) |
1641 | 1641 |
1642 | 1642 |
1643 def affiliationsSet(self, request): | 1643 def affiliationsSet(self, request): |
1644 return defer.fail(Unsupported('modify-affiliations')) | 1644 return defer.fail(Unsupported('modify-affiliations')) |
1645 | 1645 |