view .hgtags @ 349:20b82fb8de02

backend: check nodes/items permission on disco#items: - move node access check workflow from getItemsData to a new checkNodeAccess method - only accessible items are returned to an entity when doing a disco#items on a node - for PEP, nodes with presence access model are not returned if entity has not presence subscription from the node owner - all nodes are returned in normal pubsub service - new NotLeafNodeError exception when an action need to be done on Leaf node and it is not the case - /!\ access it not fully checked : items access models are not handled for items id in disco#items, and whitelist nodes are returned regardless if requestor is in the white list or not. Furthermore, publisher-roster access is not handled for nodes.
author Goffi <goffi@goffi.org>
date Sun, 27 Aug 2017 20:33:39 +0200
parents c057d78b482f
children 4b5d4da54d9e
line wrap: on
line source

b2149e448465d54e39bb8892ba9ded3313510738 idavoll-0.5.0
e289636ccc4f9e3690879aaf7b9bb5f2674c3fc8 idavoll-0.7.3
560b6cdc50b20d7590a70b0311d4781e3296c589 0.1.0
232002e132dbf9c7563d9f78f4b5e2bcdc2764de 0.1.1
642dffb9d6f1e7b2e7d5e9cb6ba17b6950fdf0bb 0.2.0