changeset 31:91d56a6e4b0d

xep: privileged entity update: - giving permission to manage this XEP namespace is forbidden - Added configuration section; with well-defined command node - better specification of persistent permissions - fixed erroneous example (server returns bookmarks) - added special permissions - better specification of <query/> element
author Goffi <goffi@goffi.org>
date Thu, 13 Nov 2014 14:12:19 +0100
parents b04be960ebdf
children a3f262d5b594
files xmpp/xep-proto-privileged-component.xml
diffstat 1 files changed, 215 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/xmpp/xep-proto-privileged-component.xml	Thu Nov 13 14:10:15 2014 +0100
+++ b/xmpp/xep-proto-privileged-component.xml	Thu Nov 13 14:12:19 2014 +0100
@@ -35,6 +35,20 @@
     <jid>goffi@jabber.fr</jid>
   </author>
   <revision>
+    <version>0.0.3</version>
+    <date>2014-11-13</date>
+    <initials>jp</initials>
+    <remark><ul>
+                <li>giving permission to manage this XEP namespace is forbidden</li>
+                <li>Added configuration section; with well-defined command node</li>
+                <li>better specification of persistent permissions</li>
+                <li>fixed erroneous example (server returns bookmarks)</li>
+                <li>added special permissions</li>
+                <li>better specification of &QUERY; element</li>
+            </ul>
+    </remark>
+  </revision>
+  <revision>
     <version>0.0.2</version>
     <date>2014-09-17</date>
     <initials>jp</initials>
@@ -52,8 +66,9 @@
     <remark><p>First draft.</p></remark>
   </revision>
 </header>
+
 <section1 topic='Introduction' anchor='intro'>
-    <p>XMPP components are used for long through &xep0114;, but are quite limited: they have a restricted access to other entities data, similar to what a client can do. This is sufficient for components like gateways, but very limiting for more complex components like a PubSub service. The goal of this XEP is to allow a component or any entity to have a "privileged" status, and access an other entity data with the same privileges than the entity itself, that means send and receive IQ stanzas on its behalf.</p>
+    <p>XMPP components are used for long through &xep0114;, but are quite limited: they have a restricted access to other entities data, similar to what a client can do. This is sufficient for components like gateways, but very limiting for more complex components like a PubSub service. The goal of this XEP is to allow a component or any entity to have a "privileged" status, and access an other entity data with the same privileges than the entity itself, that means send and receive &IQ; stanzas on its behalf (and in <link url='#special'>some cases</link>, send &MESSAGE; or receive &PRESENCE; stanzas).</p>
     <p>Privileged entity have numerous advantages, including:</p>
         <ul>
             <li>a step forward in decentralization: it is possible for an entity to do tasks which were before reserved to server itself. For example, a privileged pubsub component can offer access model based on publisher's roster</li>
@@ -63,27 +78,31 @@
             <li>server agnostic</li>
         </ul>
 </section1>
+
 <section1 topic='Requirements' anchor='reqs'>
     <p>A privileged entity can be used in two modes:</p>
         <ul>
-            <li><strong>admin</strong> mode, where it is installed by the server administrator</li>
+            <li><strong>admin</strong> mode, where it is installed by the server administrator.</li>
             <li><strong>client</strong> mode, where it can be installed by any user</li>
         </ul>
-    <p>In <em>admin</em> mode, the privileged entity MAY be able to emit IQ stanzas in the same way as any entity, including managing roster or accessing persistent storage.</p>
-    <p>In <em>client</em> mode, a privileged entity MUST have an explicit autorization for any IQ namespace he wants to use. Client SHOULD be able to check and revoke granted permissions, and if it's not possible, permissions MUST be revoked after a disconnection.</p>
+    <p>In <em>admin</em> mode, the privileged entity MAY be able to emit &IQ; stanzas in the same way as any entity, including managing roster or accessing persistent storage. The privilege mechanism MUST be totally transparent for the managed entities.</p>
+    <p>In <em>client</em> mode, a privileged entity MUST have an explicit autorization for any &IQ; namespace he wants to use. Client SHOULD be able to check and revoke granted permissions, and if it's not possible, permissions MUST be revoked after a disconnection.</p>
+    <p>In addition, some <link url='#special'>special permissions</link> can permit to send &MESSAGE; stanzas on behalf of the server or access &PRESENCE; informations</p>
 </section1>
+
 <section1 topic='Glossary' anchor='glossary'>
   <ul>
     <li><strong>Privileged entity</strong> — the entity which has or wants a privileged status.</li>
     <li><strong>Managed entity</strong> — the entity that the privileged entity wants to manage.</li>
   </ul>
 </section1>
+
 <section1 topic='Admin Mode Use Cases' anchor='admin_usecases'>
 
     <section2 topic='Permission Request Use Case' anchor='admin_perm'>
         <section3 topic='Entity request privileged status of admin' anchor='req_status'>
-            <p>Once the privileged entity is authentified and stream is started, the entity can request its privileged status. It do it by sending an IQ stanza with <strong>'urn:xmpp:privilege:0'</strong> namespace</p>
-        <p>Namespace permissions are asked with a &lt;perm/&gt; element, which MUST contain a 'namespace' attribute set to the requested namespace and a 'type' attribute which can be:</p>
+            <p>Once the privileged entity is authentified and stream is started, the entity can request its privileged status. It do it by sending an &IQ; stanza with <strong>'urn:xmpp:privilege:0'</strong> namespace</p>
+        <p>The &QUERY; element MUST have a "request" type and MAY have a 'privilege' attribute with the value "admin". Namespace permissions are asked with a &lt;perm/&gt; element, which MUST contain a 'namespace' attribute set to the requested namespace and a 'type' attribute which can be:</p>
         <ul>
             <li><strong>get</strong> — the entity wants to send &IQ; stanza of type <em>'get'</em></li>
             <li><strong>set</strong> — the entity wants to send &IQ; stanza of type <em>'set'</em></li>
@@ -99,7 +118,7 @@
             ]]></example>
         </section3>
         <section3 topic='Server Accept Admin Privilege' anchor='accept_status'>
-            <p>If the server accept the privileged status (e.g.: admin status specified in configuration), it MUST return an IQ result stanza, with allowed permissions in &lt;perm/&gt; elements:</p>
+            <p>If the server accept the privileged status (e.g.: admin status specified in configuration), it MUST return an &IQ; result stanza with a "allowed" &QUERY; type, and allowed permissions in &lt;perm/&gt; elements:</p>
             <example caption='Server accept admin privilege'><![CDATA[
 <iq from='capulet.net' to='pubsub.capulet.net' type='result' id='privilege1'>
     <query xmlns='urn:xmpp:privilege:0'
@@ -123,8 +142,8 @@
         </section3>
     </section2>
 
-    <section2 topic='Privileged Entity Send IQ Stanzas' anchor='priv_iq_admin'>
-        <p>Sending an IQ stanzas is done by sending the stanza the way it would be done by the managed entity, except that its jid is in the 'to' attribute. In the following example, the PubSub service want to know juliet's roster because she own a node with access model based on publiser's roster:</p>
+    <section2 topic='Privileged Entity Send &IQ; Stanzas' anchor='priv_iq_admin'>
+        <p>Sending an &IQ; stanzas is done by sending the stanza the way it would be done by the managed entity, except that its jid is in the 'to' attribute. In the following example, the PubSub service want to know juliet's roster because she own a node with access model based on publiser's roster:</p>
             <example caption='Privileged Entity Send A Roster Stanza'><![CDATA[
 <iq id='roster1'
     xmlns='urn:xmpp:privilege:0'
@@ -138,6 +157,7 @@
         <p>The server then answer normaly, as it would have done with the managed entity:</p>
             <example caption='Server Answer To Privileged Entity'><![CDATA[
 <iq id='roster1'
+    from='juliet@example.com'
     to='pubsub.capulet.net'
     type='result'>
     <query xmlns='jabber:iq:roster' ver='ver7'>
@@ -159,15 +179,15 @@
             ]]></example>
         <p>and server answer:</p>
 
-            <example caption='Server Return Bookmarks'><![CDATA[
+            <example caption='Server Returns Bookmarks'><![CDATA[
 <iq id='bookmark1'
-    to='pubsub.capulet.net'
+    to='sync.capulet.net'
     type='result'>
   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     <items node='storage:bookmarks'>
       <item id='current'>
         <storage xmlns='storage:bookmarks'>
-          <conference name='The Play&apos;s the Thing' 
+          <conference name='The Play&apos;s the Thing'
                       autojoin='true'
                       jid='theplay@conference.shakespeare.lit'>
             <nick>JC</nick>
@@ -181,7 +201,6 @@
     </section2>
 </section1>
 
-
 <section1 topic='Client Mode Use Cases' anchor='client_usecases'>
     <section2 topic='Permission Request Use Case' anchor='client_perm'>
         <p>In <em>client</em> mode, the privileged entity is not certified by the server administrator, so the permissions MUST be <strong>explicitly</strong> allowed by the managed entity. This is initiated by the privileged entity (it can be after an interaction with a managed entity, like a subscription). It's done in the same way as for <em>admin</em> mode with the following exceptions:</p>
@@ -240,7 +259,7 @@
     </x>
 </message>
 ]]></example>
-<p>The server SHOULD include a warning message, SHOULD translate the namespace to human friendly names (and MAY keep the original namespace in addition) and MUST set the default value to '<strong>none</strong>' (permission refused). The server SHOULD use namespace as field var, so a client can use it to have a customized display.</p>
+<p>The server SHOULD include a warning message, SHOULD translate the namespace to human friendly names (and MAY keep the original namespace in addition) and MUST set the default value to "<strong>none</strong>" (permission refused). The server SHOULD use namespace as field var, so a client can use it to have a customized display.</p>
 <p>The client can then answer to the form:</p>
     <example caption='Client Answer To The Form'><![CDATA[
 <message from='juliet@capulet.net' to='capulet.net'>
@@ -268,8 +287,8 @@
 ]]></example>
 <p>The privileged entity can now act according to permission granted to him.</p>
 </section2>
-<section2 topic='Privileged Entity Send IQ Stanzas' anchor='priv_iq_client'>
-    <p>sending IQ stanza is done in the exact same way as for <link url='#priv_iq_admin'>admin mode</link>. If an entity want to sent a non authorized IQ, it get a &forbidden; error:</p>
+<section2 topic='Privileged Entity Send &IQ; Stanzas' anchor='priv_iq_client'>
+    <p>sending &IQ; stanza is done in the exact same way as for <link url='#priv_iq_admin'>admin mode</link>. If an entity want to sent a non authorized &IQ;, it get a &forbidden; error:</p>
             <example caption='Entity Request bookmarks'><![CDATA[
 <iq to='juliet@capulet.lit' type='get' id='bookmark1'>
     <pubsub xmlns='http://jabber.org/protocol/pubsub'>
@@ -286,8 +305,172 @@
 </iq>
             ]]></example>
 </section2>
+</section1>
 
+<section1 topic='Special permissions' anchor='special'>
+    <p>In some case, an entity may need extra permission beyond what &IQ; stanzas can do. An entity may want to send &MESSAGE; stanzas on behalf of the server, or get &PRESENCE; informations. The special permissions manage these cases with some restrictions.</p>
+
+        <section2 topic='message permission' anchor='message'>
+        <p>With some namespaces it can be desirable to send notifications (e.g. PEP service), so the privileged entity must be able to send &MESSAGE; stanzas. To do this, it MUST request it by using a &lt;perm/&gt; element with the special "message" namespace attribute and a 'type' attribute with the value "outgoing" (any other type MUST be rejected with a &forbidden; error).</p>
+        <p>A privileged entity can then send message on the behalf either of the server or of a bare jid of the server, using &xep0297;, with the following restrictions:</p>
+        <ol>
+            <li>forwarded &MESSAGE; 'type' attribute has the value of "headline"</li>
+            <li>forwarded &MESSAGE; 'from' attribute MUST be a bare jid from the server, no resource is allowed</li>
+            <li>in client mode, the forwarded &MESSAGE; 'from' attribute can only be one of a managed entity which has explicitly accepted the delegation</li>
+        </ol>
+        <p>If any of this rules is violated, the server MUST return a &lt;not-authorized/&gt; stream error and close the connection, as explained in &rfc6120; section 4.9.3.12.</p>
+        <p>In the following example, pubsub.capulet.lit ask for pubsub and outgoing messages permission</p>
+        <example caption='entity asks for outgoing messages permission'><![CDATA[
+<iq from='pubsub.capulet.net' type='get' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='request' privilege='admin'>
+        <perm namespace='message' type='outgoing'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+    </query>
+</iq>
+            ]]></example>
+
+        <example caption='server accept permissions'><![CDATA[
+<iq from='capulet.net' to='pubsub.capulet.net' type='result' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='allowed'>
+        <perm namespace='message' type='outgoing'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+    </query>
+</iq>
+        ]]></example>
+        <p>Now that <em>pubsub.capulet.lit</em> is allowed, it can send messages using &lt;forwarded/&gt; elements.</p>
+        <example caption='privileged entity send a notificaction message'><![CDATA[
+<message from='pubsub.capulet.lit' to='capulet.lit' id='notif1'>
+    <forwarded xmlns='urn:xmpp:forward:0'>
+        <message from='juliet@capulet.lit'
+            id='foo'
+            to='romeo@montague.lit/orchard'
+            type='headline'
+            xmlns='jabber:client'>
+            <event xmlns='http://jabber.org/protocol/pubsub#event'>
+                <items node='http://jabber.org/protocol/tune'>
+                    <item>
+                        <tune xmlns='http://jabber.org/protocol/tune'>
+                            <artist>Gerald Finzi</artist>
+                            <length>255</length>
+                            <source>Music for "Love's Labors Lost" (Suite for small orchestra)</source>
+                            <title>Introduction (Allegro vigoroso)</title>
+                            <track>1</track>
+                        </tune>
+                    </item>
+                </items>
+            </event>
+            <delay xmlns='urn:xmpp:delay' stamp='2014-11-25T14:34:32Z'/>
+        </message>
+    </forwarded>
+</message>
+        ]]></example>
+        <p>The server see that forwarded message type is '<em>headline</em>', that <em>juliet@capulet.lit</em> is a bare jid of the server, and that outgoing message permission was granted in admin mode (so all bare jids from server are allowed); it can now send the notification:</p>
+        <example caption='server send the notification as if it was originating from him'><![CDATA[
+<message from='juliet@capulet.lit'
+    id='bar'
+    to='romeo@montague.lit/orchard'
+    type='headline'>
+    <event xmlns='http://jabber.org/protocol/pubsub#event'>
+        <items node='http://jabber.org/protocol/tune'>
+            <item>
+                <tune xmlns='http://jabber.org/protocol/tune'>
+                    <artist>Gerald Finzi</artist>
+                    <length>255</length>
+                    <source>Music for "Love's Labors Lost" (Suite for small orchestra)</source>
+                    <title>Introduction (Allegro vigoroso)</title>
+                    <track>1</track>
+                </tune>
+            </item>
+        </items>
+    </event>
+    <delay xmlns='urn:xmpp:delay' stamp='2014-11-25T14:34:32Z'/>
+</message>
+    ]]></example>
+    </section2>
+
+<section2 topic='Managed Entity Presence' anchor='managed_ent_presence'>
+        <p>It can be often desirable for a privileged entity to have presence information of the managed entities (e.g. to know when to send it notificiations). As privileges must be transparent for the managed entity (in admin mode), this presence has to be sent by the server without modifying managed entity roster.</p>
+        <p>To do this, the privileged entity MUST ask for presence information when requesting privileges, using a special "presence" namespace attribute and a 'type' attribute with the value "managed_entity".</p><p>If the delegation is granted, the server MUST use a directed presence, as specified in &rfc6121; section 4.6 on the behalf of managed entity each time its presence information change.</p><p>This privilege MUST NOT be requested in client mode, and the server MUST reject the permission by setting the allowed type to "none". If an entity need presence information in client mode, it SHOULD request it using the normal &PRESENCE; subscription mechanism.</p>
+<example caption='privileged entity asks for pusub privilege with presence'><![CDATA[
+<iq from='pubsub.capulet.net' type='get' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='request' privilege='admin'>
+        <perm namespace='presence' type='managed_entity'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+    </query>
+</iq>
+]]></example>
+
+<example caption='server accept privileges'><![CDATA[
+<iq from='capulet.net' to='pubsub.capulet.net' type='result' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='allowed'>
+        <perm namespace='presence' type='managed_entity'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+    </query>
+</iq>
+]]></example>
+
+<example caption='server receive new presence from juliet'><![CDATA[
+<presence from='juliet@capulet.lit/balcony'
+          id='presence1'
+          xml:lang='en'>
+    <show>chat</show>
+    <status>Staying on the balcony</status>
+</presence>
+]]></example>
+<example caption='server redirect presence to privileged entity'><![CDATA[
+<presence from='juliet@capulet.lit/balcony'
+          to='pubsub.capulet.lit'
+          id='presence1'
+          xml:lang='en'>
+    <show>chat</show>
+    <status>Staying on the balcony</status>
+</presence>
+]]></example>
+    </section2>
+
+<section2 topic='Roster Presence' anchor='roster_presence'>
+    <p>In addition to "<link url='#managed_ent_presence'>managed entity presence</link>", a privileged entity may need to know when a contact in managed entity roster is online (for example, it's necessary for a PEP service because of the presence default access model).</p>
+    <p>In this case, privileged entity MUST ask for presence information when requesting privileges, using a special "presence" namespace attribute (as in previous section) and a 'type' attribute with the value "roster". Furthermore, the privileged entity MUST have read permission on roster namespace (i.e. 'type' attribute in allowed &lt;perm&gt; of namespace <em>jabber:iq:roster</em> MUST have a value of either <strong>get</strong> or <strong>both</strong>).</p>
+    <p>If the delegation is granted, the server MUST send to the privileged entity every presence information that the managing entity is receiving.</p><p>The server MUST reject the permission if the privileged entity doesn't have read permission on roster namespace.</p>
+    <p>Note: this permission should be given carefully, as it give access to presence of potentially a lot of entities to the privileged entity (see <link url='#security'>security considerations</link>). If allowed in client mode, server SHOULD display an extra warning when requesting permissions to the managed entity.</p>
+<example caption='privileged entity asks for pusub privilege with presence roster'><![CDATA[
+<iq from='pubsub.capulet.net' type='get' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='request' privilege='admin'>
+        <perm namespace='presence' type='roster'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+        <perm namespace='jabber:iq:roster' type='get'/>
+    </query>
+</iq>
+]]></example>
+<p>Note the presence of <em>jabber:iq:roster</em> permission request.</p>
+
+<example caption='server accept privileges'><![CDATA[
+<iq from='capulet.net' to='pubsub.capulet.net' type='result' id='privilege1'>
+    <query xmlns='urn:xmpp:privilege:0' type='allowed'>
+        <perm namespace='presence' type='roster'/>
+        <perm namespace='http://jabber.org/protocol/pubsub' type='both'/>
+        <perm namespace='jabber:iq:roster' type='get'/>
+    </query>
+</iq>
+]]></example>
+
+<example caption="server receive new presence from Romeo, which is in Juliet's roster"><![CDATA[
+<presence from='romeo@montaigu.lit/orchard'/>
+]]></example>
+<example caption='server send the presence as usually, but also to the privileged entity'><![CDATA[
+<presence from='romeo@montaigu.lit/orchard'
+          to='juliet@capulet.lit'/>
+<presence from='romeo@montaigu.lit/orchard'
+          to='pubsub.capulet.lit'/>
+]]></example>
+</section2>
 </section1>
+
+<section1 topic='Configuration' anchor='configuration'>
+    <p>Server SHOULD provide a way to clients to check already granted permission, and revoke them by using &xep0050; on the well-defined command node of <strong>'urn:xmpp:privilege:0#configure'</strong>.</p>
+    <p>If present, the configurations commands MUST allow at least to check permissions granted to a privileged entity, and to revoke them. A server MAY offer an option to keep permission from one session to an other (see <link url='#rules'>business rules</link>).</p>
+</section1>
+
 <section1 topic='Discovering Support' anchor='disco'>
   <p>If a server or an entity supports the entity privilege protocol, it MUST report that fact by including a service discovery feature of "urn:xmpp:privilege:0" in response to a &xep0030; information request:</p>
   <example caption="Service Discovery information request"><![CDATA[
@@ -311,27 +494,34 @@
 </iq>
   ]]></example>
 </section1>
+
 <section1 topic='Business Rules' anchor='rules'>
     <ol>
-        <li>Server MAY keep permission granted to an entity by a client from one session to an other, but if it do so, it MUST provide a way to client to check already granted permission, and revoke them (possibly using &xep0050;).</li>
-        <li>If a client can't check or revoke permission (e.g. it doesn't support &xep0050;), the server MUST NOT keep granted permission from one session to an other, and permission will be asked on each new session.</li>
-        <li>If permissions are changed during a session, server MUST notify privileged entity of the new permissions, like in <link url='#client_perm'>permission request use case</link> </li>
+        <li>In client mode, server MAY keep permission granted to an entity by a client from one session to an other, but if it do so, it MUST provide configuration like explained in the <link url='#configuration'>suitable section</link>. If server offer this feature, it SHOULD add a field directly in configuration commands.</li>
+        <li>If a client can't check or revoke permission (i.e. it doesn't support &xep0050;) when granting permissions, the server MUST NOT keep granted permissions from one session to an other, and permissions will be asked on each new session.</li>
+        <li>If permissions are changed during a session, server MUST notify privileged entity of the new permissions, like in <link url='#client_perm'>permission request use case</link></li>
+        <li>A server MUST NOT grant permission for this XEP namespace (<strong>'urn:xmpp:privilege:0'</strong>)</li>
     </ol>
 </section1>
+
 <section1 topic='Implementation Notes' anchor='impl'>
     <p>As admin mode is far more easy to implement than client mode, a server MAY choose to only implement the former</p>
 </section1>
+
 <section1 topic='Security Considerations' anchor='security'>
     <ol>
         <li>Privileged entity nearly have the same possibility as the server itself, <em>admin</em> permission should be granted carefuly, only if you absolutely trust the entity.</li>
-        <li>A server MAY choose to filter allowed namespaces, to avoid giving dangerous permissions. In this case, it MUST always set the allowed type of filtered namespaces to <strong>none</strong></li>
+        <li>A server MAY choose to filter allowed namespaces, to avoid giving dangerous permissions. In this case, it MUST always set the allowed type of filtered namespaces to "<strong>none</strong>"</li>
+        <li><link url='#roster_presence'>Roster presence</link> is particulary sensitive, because if an entity accept this permission, it give presence information from its whole roster. For this reason, a server MAY choose to forbid its use in client mode (by always setting the allowed type to "<strong>none</strong>"). A server SHOULD at least disallow it in default configuration.</li>
 
         <li>In case of filtering, a whitelist system is more secure and SHOULD be prefered to a blacklist (idealy, configuration would allow no filtering, whitelist filtering and blacklist filtering)</li>
     </ol>
 </section1>
+
 <section1 topic='IANA Considerations' anchor='iana'>
   <p>This document requires no interaction with &IANA;.</p>
 </section1>
+
 <section1 topic='XMPP Registrar Considerations' anchor='registrar'>
   <section2 topic='Protocol Namespaces' anchor='ns'>
     <p>The &REGISTRAR; includes 'urn:xmpp:privilege:0' in its registry of protocol namespaces (see &NAMESPACES;).</p>
@@ -343,6 +533,7 @@
     &NSVER;
   </section2>
 </section1>
+
 <section1 topic='XML Schema' anchor='schema'>
   <code><![CDATA[
 <?xml version='1.0' encoding='UTF-8'?>
@@ -389,7 +580,10 @@
 </xs:schema>
     ]]></code>
 </section1>
+
 <section1 topic='Acknowledgements' anchor='acks'>
-  <p>Thanks to Sergey Dobrov, Dave Cridland and Steven Lloyd Watkin for their feedbacks.</p>
+  <p>Thanks to Sergey Dobrov, Dave Cridland, Steven Lloyd Watkin, Lance Stout and Johannes Hund for their feedbacks.</p>
+  <p>The client mode permission mechanism is inspired from &xep0321; permission request.</p>
 </section1>
+
 </xep>