[Standards-JIG] JEP-0060 Publisher Model - node hirarchy permissions

bernhard bz at datenkueche.com
Thu May 25 17:51:46 UTC 2006


Hi
> In this case the node id is "home/jaim.at/pubsub". The ids used here imply a
> hierarchy however PubSub itself doesn't know of any relationship between the
> nodes unless collection nodes are used and child nodes are configured with
> "pubsub#collection".  If you have collection nodes you could "move" them to
> a new parent by configuring it as you demonstrated in an earlier email.
>
>   

It is not the id of the node that makes this hierarchy.
If  I would replace the node attribute strings by numbers it is still a 
hierarchy.

Is ejabberd wrong? Is it not allowed that a leaf node contains leaf nodes?

ejabberd builds a hierarchy based on the id - this is not specified in 
jep-0060.
But there is a hierarchy specified in jep-0060.
And I still want to move nodes.

-------------------------------------------------
request:
======
<iq type="get" to="pubsub.jaim.at" id="ab26a" >
<query xmlns="http://jabber.org/protocol/disco#items" node="home/jaim.at" />
</iq>

response
======

<iq from="pubsub.jaim.at" type="result" id="ab26a" to="pubsub at jaim.at/Psi" >
<query xmlns="http://jabber.org/protocol/disco#items" node="home/jaim.at" >
<item node="home/jaim.at/deleteme" name="deleteme" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub" name="pubsub" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub2" name="pubsub2" jid="pubsub.jaim.at" />
<item node="home/jaim.at/wm" name="wm" jid="pubsub.jaim.at" />
</query>
</iq>

<iq type="get" to="pubsub.jaim.at" id="ab2aa" >
<query xmlns="http://jabber.org/protocol/disco#items" 
node="home/jaim.at/pubsub" />
</iq>
---------------------------------------------
request
========
<iq type="get" to="pubsub.jaim.at" id="ab2ba" >
<query xmlns="http://jabber.org/protocol/disco#info" 
node="home/jaim.at/pubsub" />
</iq>

response
======

<iq from="pubsub.jaim.at" type="result" id="ab2aa" to="pubsub at jaim.at/Psi" >
<query xmlns="http://jabber.org/protocol/disco#items" 
node="home/jaim.at/pubsub" >
<item node="home/jaim.at/pubsub/soso" name="soso" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/svg" name="svg" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/datenküche" name="datenküche" 
jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/zzz" name="zzz" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/web" name="web" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/xslt" name="xslt" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/2540039331" name="2540039331" 
jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/1962656026" name="1962656026" 
jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/html" name="html" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub/erfolg" name="erfolg" 
jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub!" name="" jid="pubsub.jaim.at" />
<item node="home/jaim.at/pubsub!current" name="current" 
jid="pubsub.jaim.at" />
</query>
</iq>

----------------------------------



More information about the Standards mailing list