Re: checkRight function on the LiveUser object

Lukas Smith <[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Organization BackendMedia GbR
Message-ID <[email protected]>
Jan Bolmeson wrote:

> Halleluja I now get the following obviously same result as you do. After
> stepping through almost all functions I saw that the SQL query in the
> Perm::Storage::Db.php :: readGroups() line 261 did not return any result set
> due to the "is_active" field which was "Y" and it tried to match on "1". 

well that is to be expected. like i said you will need to change the 
values of all boolean fields if you switch from MDB2 to DB on mysql.

> Example 4 obviosuly works. Now the strange part - the above fixed one of the
> original problems - the one that $LU->checkRight() didn't work for
> grouprights. Hence my application works for grouprights but not for
> userrights? And in example 4 both user and grouprights work. Any suggestion?

Not really ..

Just to clarify once more. The example data is made for MDB[2] backends. 
The admin API will however generate the data in the proper format as 
long as you use the same config for both the admin and the client. So I 
am still unsure if you really solved your original problem.

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.