Software /
code /
prosody
Changeset
4343:203137823046
mod_pubsub: Add 'publisher' affiliation (can't create/configure nodes, can do everything else)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 14 Aug 2011 13:39:40 -0400 |
parents | 4342:735d39538944 |
children | 4344:a24ee48ec30d |
files | plugins/mod_pubsub.lua |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Sun Aug 14 13:37:42 2011 -0400 +++ b/plugins/mod_pubsub.lua Sun Aug 14 13:39:40 2011 -0400 @@ -346,6 +346,28 @@ 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;