[pmwiki-users] need help with AuthUser password syntax in config.php
Neil Herber
nospam at eton.ca
Wed Apr 5 15:12:22 CDT 2006
Could someone please give me the correct syntax for AuthUser
passwords? The docs "claim" to explain them, but they are obviously
not idiot-proof, because they don't work for me. I will add this info
to the AuthUser page once I get it. What it says now:
>AuthUser also makes it possible to group login accounts together
>into authorization groups, indicated by a leading "@" sign. As with
>login accounts, group memberships are maintained by editing the
>Site.AuthUser file. Group memberships can be specified by either
>listing the groups for a login account (person belongs to groups) or
>the login accounts for a group (group includes people). You can
>repeat or mix-and-match the two kinds as desired:
>
>
> @writers: alice, bob
> carol: @writers, @editors
> @admins: alice, dave
>Then, to restrict page access to a particular group, simply use
>"@group" as the "password" in ?action=attr or the $DefaultPasswords
>array, similar to the way that "id:username" is used to restrict
>access to specific login accounts.
>
In config.php, which of these work?????
$DefaultPasswords['admin'] = 'id:NeilHerber';
$DefaultPasswords['admin'] = 'id:@admins';
$DefaultPasswords['admin'] = '@admins';
How do I allow multiples?????
$DefaultPasswords['admin'] = 'id:NeilHerber,FredSmith';
$DefaultPasswords['admin'] = 'id:@admins,FredSmith';
$DefaultPasswords['admin'] = '@admins,FredSmith';
Neil
Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668
More information about the pmwiki-users
mailing list