On Fri, Jul 13, 2012 at 09:59:49PM +0100, Tim Cutts wrote:
> >> 
> >> but querying the database directly is not generally considered a smart 
> >> thing to do, although I doubt this part of the schema is going to change 
> >> any time soon.
> > 
> > This is a list of people who are currently Owners, which is not
> > actually the same as people who can be owners.
> 
> I must have misinterpreted the question.  If that's what he's after, then I'd 
> have looked at the Mason components which provide a list of possible owners 
> for a ticket, and copy the way that does it.

Yep, that's where I pointed him and where he eventually found it.

I'd still implement this by accepting a user name, loading and error
checking the name and then checking HasRight on the user and the
Queue, but there are many ways to do this.

-kevin

Attachment: pgpuOpfkZGJUm.pgp
Description: PGP signature

Reply via email to