aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-08 21:03:37 +0200
committerKim Alvefur <zash@zash.se>2018-08-08 21:03:37 +0200
commit6e0fd20afd3d1b6132796cc7a567f0d2cbaf96e3 (patch)
treeed58438cc71d1cb81ecc3a958b020fda31cbf6d2 /plugins/mod_pep.lua
parentedf02644be7ca46335beb2a0ac227bbb6e5a52af (diff)
downloadprosody-6e0fd20afd3d1b6132796cc7a567f0d2cbaf96e3.tar.gz
prosody-6e0fd20afd3d1b6132796cc7a567f0d2cbaf96e3.zip
mod_pep: Loosen restrictions on the "none" affiliation
This allows non-contacts access to data in nodes with the "open" access model. Thanks gerald
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 55373f45..63cfe562 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -158,13 +158,13 @@ function get_pep_service(username)
create = false;
publish = false;
retract = false;
- get_nodes = false;
+ get_nodes = true;
- subscribe = false;
- unsubscribe = false;
- get_subscription = false;
- get_subscriptions = false;
- get_items = false;
+ subscribe = true;
+ unsubscribe = true;
+ get_subscription = true;
+ get_subscriptions = true;
+ get_items = true;
subscribe_other = false;
unsubscribe_other = false;