Mercurial > libervia-pubsub
view README @ 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 | a776544d84e5 |
children | 9fbb31ce495b |
line wrap: on
line source
SàT PubSub component v0.1.1 This program is heavily based on Idavoll (0.9.1), which was written by Ralph Meijer Copyright (c) 2014-2016 Adrien Cossa Copyright (c) 2012-2016 Jérôme Poisson Copyright (c) 2003-2011 Ralph Meijer Sàt PubSub is a PubSub component service for XMPP ** LICENSE ** Sàt PubSub is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Sàt PubSub is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Sàt PubSub. If not, see <http://www.gnu.org/licenses/>. ** ABOUT ** SàT PubSub is a XMPP PubSub service component (XEP-0060) It's based on Ralph Meijer's Idavoll, but provide special features necessary for the « Salut à Toi » project ( http://sat.goffi.org ), but it can also be used for any other XMPP project. The use of a standard external component allow to use this features with most XMPP servers. One of the main addition is fine access tuning for PubSub, which allow the publication of items for only some groups, even if the entire node is open. The protocol is explained on http://www.goffi.org/post/2012/06/24/Fine-access-tuning-for-PubSub for the moment, and a protoxep should be proposed to the XSF in the future... ** INSTALLATION ** Instructions for installation are the same as for Idavoll, so follow what is written in INSTALL and UPGRADING files. ** CREDIT ** The base project (Idavoll) was made by Ralph Meijer and can be found on http://idavoll.ik.nu/ ** CONTACT ** Goffi (Jérôme Poisson): goffi@goffi.org (e-mail) or goffi@jabber.fr (jid) Souliane (Adrien Cossa): souliane@mailoo.org (e-mail) or souliane@libervia.org (jid) XMPP MUC: sat@chat.jabberfr.org