> On Tue, 7 Jan 2003 22:58, you wrote:
> > Hi,
> >
> > I (think I) examined the complete security API of Turbine 2.2.x but 
> > there doesn't seem to be a way to get all Users that have a 
> specific 
> > Role or Group. Am I missing something ?
> >
> > The data model has a link table for this kind of info
> > (TURBINE_USER_GROUP_ROLE) but the UserGroupRolePeer class has no
> > doSelect() methods so I can't use that Peer to do joins on 
> the Role, 
> > Group, and User tables. There doesn't seem to be any type of join 
> > method in any of the turbine.om.security Peer classes.
> >
> > Is this something just that never gor implemented or is there some 
> > reason for this missing functionality ?
> 
> Hi Age,
> 
> You have to do the joins manually, similar to the examples in the 
> Criteria Howto: 
> http://jakarta.apache.org/turbine/torque/criteria-howto.html

I tried that but the problem is that the Peer class I need to do these
joins is the one Peer class that seems to have never been implemented.
Like I said above:

"the UserGroupRolePeer class has no doSelect() methods so I can't use
that Peer to do joins on the Role"

I was waiting for the new TorqueSecurityService implementation that
Henning promissed to commit one of these days because it would replace
the current DBSecurityService.... but if that takes too long I'll try to
patch the offending Peer class.

> I am not sure why this was never added to the SecurityService 
> interface.

Me neither... these seem to be very basic questions which belong in the
interface.

Age

> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to