Comparison

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
comparison
equal deleted inserted replaced
4342:735d39538944 4343:203137823046
344 be_subscribed = true; 344 be_subscribed = true;
345 be_unsubscribed = true; 345 be_unsubscribed = true;
346 346
347 set_affiliation = false; 347 set_affiliation = false;
348 }; 348 };
349 publisher = {
350 create = false;
351 publish = true;
352 retract = true;
353 get_nodes = true;
354
355 subscribe = true;
356 unsubscribe = true;
357 get_subscription = true;
358 get_subscriptions = true;
359 get_items = true;
360
361 subscribe_other = false;
362 unsubscribe_other = false;
363 get_subscription_other = false;
364 get_subscriptions_other = false;
365
366 be_subscribed = true;
367 be_unsubscribed = true;
368
369 set_affiliation = false;
370 };
349 owner = { 371 owner = {
350 create = true; 372 create = true;
351 publish = true; 373 publish = true;
352 retract = true; 374 retract = true;
353 get_nodes = true; 375 get_nodes = true;