Re: [galaxy-dev] user creation using API

2013-05-06 Thread Rémy Dernat
Hi,

This is an old topic now, but here is a little update (fork from Git / John
Chilton) of this code:

https://gist.github.com/remyd1/5524162

Regards
Remy



2013/1/8 Hagai Cohen haga...@gmail.com

 This is really helpful,
 Works great.
 Thanks,
 Hagai



 On Mon, Jan 7, 2013 at 5:13 PM, John Chilton chil...@msi.umn.edu wrote:

 I am pretty confident there is no way to do this via the API
 currently, though I imagine it wouldn't be terribly complicated to add
 and the community would appreciate the contribution. If API-based
 access isn't a strong requirement and you have direct access to the
 Galaxy server here is a script-template I have used to automatically
 create users:

 https://gist.github.com/4475646

 The above gist is probably enough to get going, but here is the full
 context of how I create such a file if that is of interest:

 https://github.com/jmchilton/cloudbiolinux/blob/deploy/cloudbio/deploy/galaxy.py

 -John

 On Mon, Jan 7, 2013 at 3:37 AM, Hagai Cohen haga...@gmail.com wrote:
  Hi,
  I would like to auto create users on my local Galaxy instance.
 
  I saw that in the create user on the API, I should enable
 use_remote_user
  (which as I understand means that I have to use Apache or nginx).
  Is there another way besides using Apache to create users automatically?
 
  Thanks,
  Hagai
 
 
  ___
  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/

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] user creation using API

2013-01-07 Thread John Chilton
I am pretty confident there is no way to do this via the API
currently, though I imagine it wouldn't be terribly complicated to add
and the community would appreciate the contribution. If API-based
access isn't a strong requirement and you have direct access to the
Galaxy server here is a script-template I have used to automatically
create users:

https://gist.github.com/4475646

The above gist is probably enough to get going, but here is the full
context of how I create such a file if that is of interest:
https://github.com/jmchilton/cloudbiolinux/blob/deploy/cloudbio/deploy/galaxy.py

-John

On Mon, Jan 7, 2013 at 3:37 AM, Hagai Cohen haga...@gmail.com wrote:
 Hi,
 I would like to auto create users on my local Galaxy instance.

 I saw that in the create user on the API, I should enable use_remote_user
 (which as I understand means that I have to use Apache or nginx).
 Is there another way besides using Apache to create users automatically?

 Thanks,
 Hagai


 ___
 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/