Diff

plugins/mod_pubsub.lua @ 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
parent 4342:735d39538944
child 4795:8a105eb8aeae
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;