component pubsub: remove node creation restriction to local user only:
External users should be able to create nodes, it is necessary for many feature such as blog comments. rel 476
This commit is contained in:
parent
e7917b1b63
commit
1013266cc5
1 changed files with 0 additions and 3 deletions
|
|
@ -552,9 +552,6 @@ class PubsubResource(pubsub.PubSubResource):
|
|||
assert request.sender is not None
|
||||
requestor_jid = request.sender.userhostJID()
|
||||
|
||||
if not client.is_local(requestor_jid):
|
||||
raise error.StanzaError("forbidden")
|
||||
|
||||
node_id = request.nodeIdentifier or f"generic/{shortuuid.uuid()}"
|
||||
|
||||
config = PubsubNodeConfig()
|
||||
|
|
|
|||
Loading…
Reference in a new issue