From a439fb13e23105146bba7c5117f5f5fc530ffbb7 Mon Sep 17 00:00:00 2001
From: Steve Kille
- Presence 'urn:xmpp:mix:nodes:presence' For publishing information about the availability status of online participants, which may include multiple clients for a single participant.
-
Configuration 'urn:xmpp:mix:nodes:config' For storing channel configuration. This information will generally be restricted to authorized users.
+
+ Information 'urn:xmpp:mix:nodes:info' For storing general channel information, such as description and avatar.
+
+ Allowed 'urn:xmpp:mix:nodes:allowed' For storing JIDs that are allowed to be channel participants.
+
+ Banned 'urn:xmpp:mix:nodes:banned' For storing JIDs that are not allowed to be channel participants.
@@ -289,8 +293,31 @@
MIX provides mechanisms to allow users to conveniently subscribe to a chosen set of nodes and to unsubscribe to all nodes with a single operation.
Configuration 'urn:xmpp:mix:nodes:config' For storing channel configuration. This information will generally be restricted to the channel owners.
- The structure of each of the standard nodes is now considered in more detail + The structure of each of the standard nodes is now considered in more detail in the rest of this section, after explaining roles.
++ There are a number of MIX roles for each channel, listed in the following table. Rights will be assigned to the various roles in the channel configuration node. +
+Role | Membership and Rights |
---|---|
Owners | These are owners of the list, as specified in the channel configuration node. Only owners are allowed to modify the channel configuration node. |
Administrators | Administrators are defined in the channel configuration node. Administrators have update rights to the Allowed Node and Banned Node, so can control which users may participate in a channel. Administrators will usually be granted additional rights, such as the ability to kick users from a channel. |
Participants | Participants are users listed by JID in the participants node. |
Allowed | Allowed is the set of JIDs that are participants or may be allowed to become participants. A JID is allowed if it does not match entry in the banned node and either it matches an entry in the allowed node or the allowed node is not present. |
Anyone | Any user, including users in the banned node. |
+ There will always be at lease one owner and "anyone" will always have role occupants. Other roles may not have any role occupants. Rights are defined in a strictly hierarchical manner, so that for example Owners will always have rights that Administrators have. +
+Items in this node will contain a message identified by a unique ID. A MIX implementation SHOULD NOT make messages available for retrieval from this node using pubsub. The recommended approach is that zero history is held in the messages node, and that this node is used for publication only. The recommended approach to retrieve message history is MAM. Users subscribe to this node to receive messages.
Private Messages are not stored in the messages node.
@@ -393,8 +420,40 @@ ]]> -+ This node represents a list of JIDs that are allowed to become participants. If the allowed node is not present, all JIDs are allowed. The allowed list is always considered in conjunction with the banned list, stored in the banned node. Only Administrators and Owners have write permission to the allowed node and are also the only roles that are allows to subscribe to this node. Each item contains a real bare JID. The following example shows how the allowed list can specify single JIDs and domains. +
+ ++ This node represents a list of JIDs that are explicitly not allowed to become participants. The values in this list take priority over values in the allowed node. Only Administrators and Owners have write permission to the allowed node and are also the only roles that are allows to subscribe to this node. Each item contains a real bare JID. + +
+ +The Configuration node holds the configuration of the channel as a single item, named by the date-time of the last update to the configuration. A single item is stored in the node at a time, with previous configuration history accessed by MAM. Users MAY subscribe to the configuration node to get notification of configuration change. The configuration node is optional for a MIX channel. For example, configuration choices could be fixed and not exposed. A subset of the defined configuration options may be used and additional non-standard configuration options may be added. If configuration options to control functionality of the nature described here are provided, the options defined in this standard MUST be used. The following configuration options are provided: @@ -406,17 +465,17 @@