[pmwiki-users] AuthUser config
Sandy
sandy at onebit.ca
Tue Jun 24 14:02:12 CDT 2008
I remember the order of the statements in config.php is important. I
think you fill the arrays before calling authuser.php, but could be
wrong. (I messed it up one time. Fun to track down.) The samples in the
cookbook are likely right.
Sandy
noskule wrote:
> Hans schrieb:
>> I wonder if it is possible to set auth groups in config, as one can
>> set individual users with a password, like
>>
>> $AuthUser['bob'] = crypt('bobspassword');
>>
>> thereby not using SiteAdmin.AuthUser
>>
>>
>> Does it work to set group associations in config.php like
>>
>> $AuthUser['@admin'] = array('bob','ann','jack');
>>
>> ? or in a different way?
>>
>
> I use this:
>
> $AuthUser['Admin'] = array('XXXXXXXXXXXXXX', '@admins');
> $AuthUser['Author'] = array('XXXXXXXXXXXXXX', '@authors');
>
> $DefaultPasswords['admin'] = array('@admins', 'id:Admin');
> $DefaultPasswords['read'] = '@authors';
>
> grz nos
>
>> thanks for any help here!
>>
>> ~Hans
>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>>
More information about the pmwiki-users
mailing list