I would review the following threads - they have hacks for doing this
and required warnings:

http://dev.list.galaxyproject.org/find-UUID-of-current-history-in-tool-XML-wrapper-td4667113.html
http://dev.list.galaxyproject.org/Possible-to-pass-hostName-to-a-tool-td4667108.html

-John

On Sun, Dec 27, 2015 at 2:37 PM,  <rbrown1...@comcast.net> wrote:
> Good morning,
> I am trying to pass this info to by plugin mako that will display an output
> file in their history.   With that info and the history data file location I
> can pass a URL for the file location to the tool in the mako doing the
> display.
> Tools already have access to the user email etc. and the api key is encoded
> so I do not believe any more info is conveyed to the tool than is available
> already.   For example we have a program that calls galaxy with an api key
> to bring up the correct history when they begin.
> thanks
> bob
> ----- Original Message -----
> From: Martin Čech <mar...@bx.psu.edu>
> To: rbrown1...@comcast.net, galaxy-dev <galaxy-dev@lists.galaxyproject.org>
> Sent: Sat, 26 Dec 2015 14:49:31 -0000 (UTC)
> Subject: Re: [galaxy-dev] how to access current user's apikey
> Good morning,
> I hope there is not, because tool should not have access to user's
> credentials.
> If you explain a bit what are you trying to do we can probably be of more
> help.
> Thank you for using Galaxy.
> Martin
>
> On Sat, Dec 26, 2015 at 9:27 AM <rbrown1...@comcast.net> wrote:
>>
>> Good morning team,
>> Is there a way to access the current user's API Key similar to seeing
>> their email address via a tool's xml parameter "$__user_email__" ?
>> Thanks,
>> Bob
>>
>> ___________________________________________________________
>>
>> 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:
>>
>>   https://lists.galaxyproject.org/
>>
>> To search Galaxy mailing lists use the unified search at:
>>
>>   http://galaxyproject.org/search/mailinglists/
>
>
> ___________________________________________________________
> 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:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___________________________________________________________
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:
  https://lists.galaxyproject.org/

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

Reply via email to