[pmwiki-users] easy question to all

Swift, Chris Chris.Swift at eu.dodea.edu
Wed Oct 15 02:33:38 CDT 2008

Ok, for some reason I still can't edit freely in pages that are already created.  I still need the group password to edit anything.  Could that be because $DefaultPasswords['edit'] ?   Maybe should I set this per group?  $DefaultPasswords['Main'] = crypt('group_creation_password'); for example?


From: Patrick R. Michaud [mailto:pmichaud at pobox.com]
Sent: Tue 10/14/2008 8:56 PM
To: Swift, Chris
Cc: PmWiki Users
Subject: Re: [pmwiki-users] easy question to all

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');


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081015/690e6cd8/attachment.html 

More information about the pmwiki-users mailing list