# HG changeset patch # User Matthew Wild # Date 1313343580 14400 # Node ID 20313782304690a2612b9627b4b66c67a37bd738 # Parent 735d39538944431badc6400401b2094d20d5da24 mod_pubsub: Add 'publisher' affiliation (can't create/configure nodes, can do everything else) diff -r 735d39538944 -r 203137823046 plugins/mod_pubsub.lua --- 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;