[rt-users] RES: Is it possible to specify a different user with RT CLI ?

Kevin Falcone falcone at bestpractical.com
Fri Jun 7 12:36:23 EDT 2013


On Fri, Jun 07, 2013 at 01:04:38AM +0200, Jean-Christophe Boggio wrote:
> Thanks for your answers but that's not what I'm looking for. This
> method will work if I store the passwords for every user in clear
> form.
> 
> What I want is to only have the root (admin) passwd in a RT Config
> File and issue the comment/correpond AS some user. I am making a
> dedicated interface to RT.

While the REST interface (which is what the command line client uses)
does not allow you to impersonate a user without knowing passwords or
cookies, you can use RT's core perl API to load any user and record
actions as that user.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130607/6112d5e6/attachment.sig>


More information about the rt-users mailing list