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:

> [Jan Bolmeson] 
> But as it seems we do get the same result on example4. And the client
> returns correct data for grouprights as of now - which was one of the
> problems. The second remaining problem is to try to fix so that it works for
> "UserRights" as well.

Ok, so for that you will need to have a look at the readUserRights() 
method. Try to debug whats going on there.

> Just a quick question on feature I just noted: If a user is a member of
> group which in turn does have subgroups, should he automatically become a
> member of the subgroups as well? 

If you are using the complex container, then for all intends and 
purposes for the client all groups a user is a member of which have 
subgroups will result it being like that user is a direct member of said 
subgroups. so the answer is yes. the subgroups will affect the values in 
the groupIds, groupRights and rights propertiers.

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.