[galaxy-dev] [API] allow_user_impersonation

2012-02-28 Thread Louise-Amélie Schmitt

Hello everyone!

I just wanted to know if the user impersonation will be available 
through the API someday :) It could be veeery useful for triggering 
automatic QA on the data without having to share the resulting histories 
afterwards.


Best regards,
L-A
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/


Re: [galaxy-dev] [API] allow_user_impersonation

2012-02-28 Thread Dannon Baker
Hi L-A,

This exists.  See your universe_wsgi for the following lines:

# Optional list of email addresses of API users who can make calls on behalf of
# other users
#api_allow_run_as = None

And then with any api call from a user in the allow list above you can add an 
extra parameter to the request, 'run_as' with the value being the encoded user 
ID you wish to impersonate.

Good luck!

Dannon


On Feb 28, 2012, at 10:18 AM, Louise-Amélie Schmitt wrote:

 Hello everyone!
 
 I just wanted to know if the user impersonation will be available through the 
 API someday :) It could be veeery useful for triggering automatic QA on the 
 data without having to share the resulting histories afterwards.
 
 Best regards,
 L-A
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
 http://lists.bx.psu.edu/


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/