[pmwiki-users] hide links for certain groups
Robert Matthews
RMatthews at ms.soph.uab.edu
Thu Mar 31 15:01:08 CDT 2011
Yes, this is basically what I want to do... can you show me a line of
code that I can insert into config.php to check which AD group a user
belongs to?
Thanks,
Robert
-----Original Message-----
From: Vince Administration [mailto:vadmin at math.uconn.edu]
Sent: Thursday, March 31, 2011 2:54 PM
To: Peter Bowers
Cc: Robert Matthews; pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] hide links for certain groups
On Mar 31, 2011, at 3:41 PM, Peter Bowers wrote:
> On Thu, Mar 31, 2011 at 9:19 PM, Robert Matthews
> <RMatthews at ms.soph.uab.edu> wrote:
>> Something like...
>> If {member of AD group} then
>> Do nothing
>> Else {member of any other group}
>> Display the link
>> endif
>
The question I would ask is: "How do you determine if a user is a member
of the AD group?
We do a lot of things like this, with checking which groups a user
belongs to done in config.php. (This a a secure site, login required,
Then php functions called from config.php check group membership, and
set authgroups or php variables, which can be checked by (:if auth ...
or (:if enabled ...
Vince
More information about the pmwiki-users
mailing list