Re: [galaxy-dev] how to create users through Galaxy API?

2016-09-02 Thread Björn Grüning
Hi, and here a script used by the Galaxy Docker project: https://github.com/bgruening/docker-galaxy-stable/blob/master/galaxy/setup_postgresql.py Cheers, Bjoern Am 30.08.2016 um 11:56 schrieb Peter Cock: > Thanks Nicola & Peter B., > > I was hoping we could script new-user creation like this,

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-30 Thread Peter Cock
Thanks Nicola & Peter B., I was hoping we could script new-user creation like this, and that someone else had already done this with the Galaxy API (and Bioblend). This looks great! Thank you both, Peter C. On Tue, Aug 30, 2016 at 10:43 AM, Peter Briggs wrote: > Hello Peter > > Following on fr

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-30 Thread Peter Briggs
Hello Peter Following on from Nicola's suggestion: a while ago I had a go at writing some command line tools using Bioblend to try and do some of my Galaxy admin tasks via the API, including creating new user accounts so I'd also recommend this route as much much easier than attempting to int

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-29 Thread Nicola Soranzo
Hi Peter, why not use BioBlend? https://bioblend.readthedocs.io/en/latest/api_docs/galaxy/all.html#module-bioblend.galaxy.users Cheers, Nicola Peter Cock ha scritto >Thanks Hans-Rudolf, > >Yes - you are right. The wiki does link there but it wasn't obvious to me. >Reading the UserAPIC

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-29 Thread Peter Cock
Thanks Hans-Rudolf, Yes - you are right. The wiki does link there but it wasn't obvious to me. Reading the UserAPIController link source code suggests as long as I am authenticated as a Galaxy Admin, I could use this to create new user accounts: https://docs.galaxyproject.org/en/master/_modules/g

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-29 Thread Hans-Rudolf Hotz
Hi Peter I guess it is here: https://docs.galaxyproject.org/en/master/api_doc.html Regards, Hans-Rudolf On 08/29/2016 05:27 PM, Peter Cock wrote: Hi Martin, I'd like to look into creating new users via the API (where we can control the email address and username format for integration with

Re: [galaxy-dev] how to create users through Galaxy API?

2016-08-29 Thread Peter Cock
Hi Martin, I'd like to look into creating new users via the API (where we can control the email address and username format for integration with our cluster), and have the web-interface forbid users from self-registration. The read-the-docs site you mentioned in this old email (below) doesn't exi