Re: checking groups

Lukas Smith <[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Organization BackendMedia GbR
Message-ID <[email protected]>
Dan Rossi wrote:
> 
> On 24/06/2005, at 10:16 PM, Lukas Smith wrote:
> 
>> Lukas Smith wrote:
>>
>>> Dan Rossi wrote:
>>>
>>>>
>>>> Hi there, I am experiencing some headaches, I am trying to prevent 
>>>> access to areas depending on groups however checkGroup is remaining 
>>>> false. In my user session groupIds array is empty and I noticed 
>>>> checkGroup requires this, any ideas what the issue may be ? I dont 
>>>> really need complicated rights checking for one particular section.
>>>
>>> well are you using the medium or complex container?
>>> is the user really a member of any groups?
>>
>>
>> oh and is the value in the is_active field of the given group set to 
>> 'Y' (for MDB/MDB2 containers) or 1 for DB container?
>>
> 
> I'm using MDB2 ;) my is_active field is Y , I have setup all my users 
> with groups, the group  that i am checking for is correct, what kind of 
> code should i display ?

but it reads your rights properly?

regards,
Lukas Smith
[email protected]
_______________________________
   BackendMedia
   www.backendmedia.com
   [email protected]

   Linn Zwoch Smith GbR
   Pariser Str. 44
   D-10707 Berlin

   Tel +49 30 83 22 50 00
   Fax +49 30 83 22 50 07
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.