aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit6ef3f2a74de007f0244fea1cb43e263e175f3701 (patch)
treeed58438cc71d1cb81ecc3a958b020fda31cbf6d2 /plugins
parented0675b09692419c5463fd205d7ef50f8f0e2e36 (diff)
downloadprosody-6ef3f2a74de007f0244fea1cb43e263e175f3701.tar.gz
prosody-6ef3f2a74de007f0244fea1cb43e263e175f3701.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')
-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;