|
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.
QuestionIs it possible to prevent users from creating new WikiGroups? AnswerYes. 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
pmwiki-2.2.0-beta68 -- Last modified by {{simon}}
|