Re: checking groups
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
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 ?