[pmwiki-users] Using latest PmWiki and AuthUser,	but can't set a READ password
    Petko Yotov 
    5ko at 5ko.fr
       
    Thu Jan 15 16:07:48 CST 2009
    
    
  
On Thursday 15 January 2009 18:02:11 Chris Cox wrote:
> I'm stuck.  I have AuthUser installed....
> $DefaultPasswords['attr'] = crypt('secret');
> 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.
Hi. You should be able to do it with this:
  $DefaultPasswords['attr'] = array('@admins');
Note that a user with the administrator password can always open ?action=attr, 
other user IDs should be defined in the page SiteAdmin.AuthUser :
  @admins: alice, dave
Thanks,
Petko
    
    
More information about the pmwiki-users
mailing list