[pmwiki-users] easy question to all

Patrick R. Michaud pmichaud at pobox.com
Tue Oct 14 13:56:24 CDT 2008

On Tue, Oct 14, 2008 at 05:23:42PM +0200, Swift, Chris wrote:
> Also, I would prefer to create a password in order to create new 
> groups, instead of leaving it only to admin.  That way I could 
> still empower "moderators" but not give everyone access to create 
> new groups.  Any ideas would be appreciated...

    $pagename = ResolvePageName($pagename);
    $rc = FmtPageName('$Group.HomePage', $pagename);
    if (!PageExists($rc)) 
      $DefaultPasswords['edit'] = crypt('group_creation_password');


More information about the pmwiki-users mailing list