On Mon, Feb 09, 2009 at 07:42:34PM -0500, Neil Herber (nospam) wrote:
> You need to set a default edit password as in:
> 
> $DefaultPasswords['edit'] = crypt('A example password');
> 
> Or if you only want the admin to be able to edit, then set:
> 
> $DefaultPasswords['admin'] = crypt('A example password');
> $DefaultPasswords['edit'] = '*';
> 
> This does not set the edit password to '*', rather it sets the crypted 
> value of the password to '*', but crypt will never return a one 
> character value. So the effect is that no-one can edit, except for the 
> admin.

The above works just fine, but I think we now suggest using '@lock'
instead of '*', as in:

    $DefaultPasswords['edit'] = '@lock';

This is more similar to what is done with setting passwords
via the ?action=attr interface.

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to