mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
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.
This commit is contained in:
parent
5ef6234248
commit
83ee7e5739
4 changed files with 26 additions and 2 deletions
|
@ -109,6 +109,12 @@ local node_config_form = dataform {
|
|||
"whitelist",
|
||||
};
|
||||
};
|
||||
{
|
||||
type = "list-multi"; -- TODO some way to inject options
|
||||
name = "roster_groups_allowed";
|
||||
var = "pubsub#roster_groups_allowed";
|
||||
label = "Roster groups allowed to subscribe";
|
||||
};
|
||||
{
|
||||
type = "list-single";
|
||||
name = "publish_model";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue