Mercurial > prosody-hg
comparison plugins/mod_pep.lua @ 9155:ccd91fa828c4
mod_pep: Loosen restrictions on the "none" affiliation
This allows non-contacts access to data in nodes with the "open" access
model.
Thanks gerald
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 08 Aug 2018 21:03:37 +0200 |
| parents | fd50e9c8c417 |
| children | f06484110817 |
comparison
equal
deleted
inserted
replaced
| 9154:fd50e9c8c417 | 9155:ccd91fa828c4 |
|---|---|
| 156 }; | 156 }; |
| 157 none = { | 157 none = { |
| 158 create = false; | 158 create = false; |
| 159 publish = false; | 159 publish = false; |
| 160 retract = false; | 160 retract = false; |
| 161 get_nodes = false; | 161 get_nodes = true; |
| 162 | 162 |
| 163 subscribe = false; | 163 subscribe = true; |
| 164 unsubscribe = false; | 164 unsubscribe = true; |
| 165 get_subscription = false; | 165 get_subscription = true; |
| 166 get_subscriptions = false; | 166 get_subscriptions = true; |
| 167 get_items = false; | 167 get_items = true; |
| 168 | 168 |
| 169 subscribe_other = false; | 169 subscribe_other = false; |
| 170 unsubscribe_other = false; | 170 unsubscribe_other = false; |
| 171 get_subscription_other = false; | 171 get_subscription_other = false; |
| 172 get_subscriptions_other = false; | 172 get_subscriptions_other = false; |
