diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-08-14 13:39:40 -0400 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-08-14 13:39:40 -0400 |
commit | 95547f989296028151b238418833ed30103b63a8 (patch) | |
tree | bfc27362f745bb0850b87299f7c818f22490f513 | |
parent | edd757b55171720a07bc270cfb02e4a30934dfd2 (diff) | |
download | prosody-95547f989296028151b238418833ed30103b63a8.tar.gz prosody-95547f989296028151b238418833ed30103b63a8.zip |
mod_pubsub: Add 'publisher' affiliation (can't create/configure nodes, can do everything else)
-rw-r--r-- | plugins/mod_pubsub.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index 7dac3b29..dd787d32 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -346,6 +346,28 @@ set_service(pubsub.new({ set_affiliation = false; }; + publisher = { + create = false; + publish = true; + retract = true; + get_nodes = true; + + subscribe = true; + unsubscribe = true; + get_subscription = true; + get_subscriptions = true; + get_items = true; + + subscribe_other = false; + unsubscribe_other = false; + get_subscription_other = false; + get_subscriptions_other = false; + + be_subscribed = true; + be_unsubscribed = true; + + set_affiliation = false; + }; owner = { create = true; publish = true; |