[pmwiki-users] Using latest PmWiki and AuthUser, but can't set a READ password

Chris Cox ccox at endlessnow.com
Thu Jan 15 15:28:36 CST 2009

On Thu, 2009-01-15 at 12:44 -0500, Michael Shanley wrote:
> On Thu, Jan 15, 2009 at 12:02 PM, Chris Cox <ccox at endlessnow.com>
> wrote:
>         I'm stuck.  I have AuthUser installed....
>         $DefaultPasswords['admin'] = crypt('secret');
>         $DefaultPasswords['attr'] = crypt('secret');
>         $DefaultPasswords['edit'] = 'id:*';
>         $DefaultPasswords['upload'] = 'edit';
>         $HandleAuth['upload'] = 'edit';
>         $HandleAuth['diff'] = 'edit';
>         include_once("$FarmD/scripts/authuser.php");
>         $Author = $AuthId;
>         When I go to a page and do ?action=attr I would
>         love to have just members of the @admins group
>         have access.... I thought I just needed to supply
>         @admins for the read password.
>         What am I missing? (I have a feeling this is an
>         easy question... but I couldn't find anything
>         reading the docs online).
> If you mean you want to keep visitors away from ?action=attr, add this
> line...
> $HandleAuth['attr'] = 'admin';
> If you want to keep people from reading that specific page, say Main.SecretPage, using @admin, then that should just work. Have you assigned users to the @admin group?

Hmmm... what's happening is that no changes are getting saved attr wise
to either pages or GroupAttributes (doesn't create a GroupAttributes
page).  Weird.  More exploration for me...

More information about the pmwiki-users mailing list