[pmwiki-users] Locking Down Creation Of Groups
Patrick R. Michaud
pmichaud at pobox.com
Tue Dec 13 07:33:51 CST 2005
On Tue, Dec 13, 2005 at 10:43:36AM +0000, Alan Perryman wrote:
> My supervisor wants the wiki setup so that only people with "admin" access
> can create new page groups.
>
> Is this possible?
Assuming that each group has a "RecentChanges" page, add the following
to your local/config.php:
$rc = FmtPageName('$Group.RecentChanges', $pagename);
if (!PageExists($rc))
$DefaultPasswords['edit'] = '*';
With this in place, only people with admin privileges will be able
to create pages in non-existing groups. Once such a page is created,
however, editing will be controlled by the normal edit parameters.
Pm
More information about the pmwiki-users
mailing list