Re: Getting rights assigned to a user by (sub)groups
Lukas Kahwe Smith <[email protected]> Sat, 13 Aug 2005 13:12:12 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Jan Bolmeson wrote: > Hi, > > > > I have returned to the development of my app and I stumbled across a > problem. =/ > > > > I have situation where I have two groups A and B. > > > > A is parent to B. > > A has no rights assigned to it but B does. > > > > Hence I would like to get all the grouprights assigned to the user with > regard to the user perm_user_id. How should the params-array sent to > $admin->perm->getRights($params); look like? I dont think that this is possible at this point. The only method that takes subgroups into account is getGroups(). But even then you will probably not be able to get this in one method call. regards, Lukas