LimitWikiGroups
<< Search Exclude Pages | Cookbook-V1 | Page Paths >>
Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
Question
Is it possible to prevent users from creating new WikiGroups?
Answer
Yes. Essentially, you just set PmWiki's $GroupNamePattern variable to only accept the group names you want to define. For example, to limit pages to the "PmWiki", "Main", "Profiles", and "Example" groups, add the following to local/config.php:
$GroupNamePattern = '(?:PmWiki|Main|Profiles|Example)';
With this setting, only the listed groups will be considered valid WikiGroups. You can add more groups to the list by placing additional group names separated by vertical braces (|).
Contributors
- Pm, 2-Mar-2004
pmwiki-2.3.38 -- Last modified by {{simon}}