[rt-users] Perl API: list of available queues, owners, status

Kevin Falcone falcone at bestpractical.com
Fri Jul 13 18:59:21 EDT 2012

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120713/810a7705/attachment.sig>

More information about the rt-users mailing list