[pmwiki-users] How to test group membership in config.php?

Eemeli Aro eemeli at gmail.com
Wed May 26 02:38:14 CDT 2010

On 26 May 2010 10:17, Oliver Betz <list_ob at gmx.net> wrote:
> Wordit Ltd wrote:
>>How do you check in config.php whether the authenticated user is the
>>member of a specified group?
>>if currently authenticated user is in @group1 do this
>>(The groups have been set with AuthUser)
> I'm also interested in a simple solution.

$AuthList['@group'] is non-empty if user is a member of @group.


More information about the pmwiki-users mailing list