Hi - i am trying to create a new child node using the hometree plugin but i always get an unathorised error. I have tried hundreds of combinations to no joy. I fear I am missing something fundamental.
<iq type='set'
from='admin@alchemy.local'
to='pubsub.alchemy.local'
id='create1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='/home/owner/test'/>
</pubsub>
</iq>
<iq from="pubsub.alchemy.local" type="error" xml:lang="en" to="admin@alchemy.local/alchemy" id="create1">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<create node="/home/owner/test"/>
</pubsub>
<error type="auth" code="403">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">You're not allowed to create nodes</text>
</error>
</iq>
I have tried various config options in the yml file, again no joy. What am I missing?
mod_pubsub:
nodetree: tree
access_createnode: all
# ## reduces resource comsumption, but XEP incompliant
# ignore_pep_from_offline: true
# ## XEP compliant, but increases resource comsumption
# ## ignore_pep_from_offline: false
# last_item_cache: false
plugins:
# - "flat"
- "hometree"
# - "pep" # pep requires mod_caps