In accordance with XMPP Council consensus, moved the auto-create, auto-subscribe, filtered-notifications, and last-published features from XEP-0163 to this specification and defined them more precisely; defined one disco#info feature for each default access model; added publish-options functionality.
In accordance with XMPP Council consensus, moved the auto-create, auto-subscribe, filtered-notifications, and last-published features from XEP-0163 to this specification and defined them more precisely; added publish-options functionality.
A generic publish-subscribe implementation SHOULD support all of the defined access models, although specialized publish-subscribe implementations MAY support only a subset of the access models. Which access models are provided in a particular deployment is a matter of service provisioning (e.g., some restricted deployments may wish to lock down permissions so that only the "authorize" and "whitelist" access models are provided, or even only the "whitelist" access model).
-A pubsub service SHOULD advertise its default access model for newly-created nodes by returning one of the following values in its disco#info responses:
-A node creator or owner can override the default access model by specifying an appropriate value for the 'pubsub#access_model' configuration field (see the Create a Node With Default Configuration and Configure a Node sections of this document).
@@ -2544,45 +2536,15 @@ And by opposing end them? ]]> -The following rules apply:
+The <publish-options/> element SHOULD contain a data form (see XEP-0004), whose FORM_TYPE SHOULD be "http://jabber.org/protocol/pubsub#publish-options" (see XEP-0068).
+How the fields are to be handled is up to the the pubsub service, which in the language of XEP-0004 functions as a form-processing entity.
+For example, the service may treat the field as a precondition, in which case the service should proceed as follows:
Specifically, the following field handling methods are defined:
-These are defined more fully below.
-A service shall handle metadata fields as follows:
-A service shall handle override fields as follows:
-A service shall handle precondition fields as follows:
-The XMPP Registrar maintains a registry of service discovery features (see &DISCOFEATURES;), which includes a number of features that may be returned by pubsub services. The following registry submission has been provided to the XMPP Registrar for that purpose.
- http://jabber.org/protocol/pubsub#access-authorize
- The default access model is authorize.
- XEP-0163
-
-
- http://jabber.org/protocol/pubsub#access-open
- The default access model is open.
- XEP-0163
-
-
- http://jabber.org/protocol/pubsub#access-presence
- The default access model is presence.
- XEP-0163
-
-
- http://jabber.org/protocol/pubsub#access-roster
- The default access model is roster.
- XEP-0163
-
-
- http://jabber.org/protocol/pubsub#access-whitelist
- The default access model is whitelist.
- XEP-0163
-
http://jabber.org/protocol/pubsub#auto-create
The service supports automatic creation of nodes on first publish.