Mercurial > psgxs
comparison configuration.js @ 42:07ca0263a53f
Add an option to hide non-accessible nodes.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 26 Feb 2011 17:39:49 +0100 |
parents | bc717575e66a |
children | 023f767662d3 |
comparison
equal
deleted
inserted
replaced
41:bc717575e66a | 42:07ca0263a53f |
---|---|
26 config.os = 'GNU/Linux'; | 26 config.os = 'GNU/Linux'; |
27 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use []. | 27 config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use []. |
28 config.backend = 'directory'; // Put backends in “backends” directory. | 28 config.backend = 'directory'; // Put backends in “backends” directory. |
29 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet. | 29 config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet. |
30 config.pluginsDir = 'modules'; | 30 config.pluginsDir = 'modules'; |
31 config.hideNonAccessibleNodes = true; | |
31 | 32 |
32 config.activated = [ | 33 config.activated = [ |
33 'auto-create', | 34 'auto-create', |
34 //'auto-subscribe', // Impossible à utiliser dans un component | 35 //'auto-subscribe', // Impossible à utiliser dans un component |
35 //'collections', //TODO | 36 //'collections', //TODO |