Comparison

plugins/mod_pubsub/pubsub.lib.lua @ 13486:fdd1438d9ef7

mod_pep: Implement 'roster' (group) access_model Allows e.g. restricting your vcard4 to only family or similar. Notes: This does not include roster groups in the configuration form, so the client will have to get them from the actual roster.
author Kim Alvefur <zash@zash.se>
date Sun, 03 Dec 2023 23:19:27 +0100
parent 13179:1b1ed555f307
child 13532:9970d333a63f
comparison
equal deleted inserted replaced
13485:3bdbaba15c00 13486:fdd1438d9ef7
108 "roster", 108 "roster",
109 "whitelist", 109 "whitelist",
110 }; 110 };
111 }; 111 };
112 { 112 {
113 type = "list-multi"; -- TODO some way to inject options
114 name = "roster_groups_allowed";
115 var = "pubsub#roster_groups_allowed";
116 label = "Roster groups allowed to subscribe";
117 };
118 {
113 type = "list-single"; 119 type = "list-single";
114 name = "publish_model"; 120 name = "publish_model";
115 var = "pubsub#publish_model"; 121 var = "pubsub#publish_model";
116 label = "Specify the publisher model"; 122 label = "Specify the publisher model";
117 options = { 123 options = {