[ARVADOS] created: 1.1.3-10-g338fff4

Git user git at public.curoverse.com
Wed Feb 14 11:23:34 EST 2018


        at  338fff463f52e222c41ada21dc2b7d27e878e2b5 (commit)


commit 338fff463f52e222c41ada21dc2b7d27e878e2b5
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Wed Feb 14 11:22:57 2018 -0500

    13037: Add ?api_token to Composer link to skip extra login
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index 174e35f..78dd761 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -74,7 +74,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
                 <li role="menuitem"><a href="/projects/<%=current_user.uuid%>" role="menuitem"><i class="fa fa-lg fa-home fa-fw"></i> Home project </a></li>
                   <% if Rails.configuration.composer_url %>
                     <li role="menuitem">
-                      <%= link_to Rails.configuration.composer_url, role: 'menu-item' do %>
+                      <%= link_to "#{Rails.configuration.composer_url}?api_token=#{Thread.current[:arvados_api_token]}", role: 'menu-item' do %>
                       <i class="fa fa-lg fa-share-alt fa-fw"></i> Workflow Composer
                   <% end %>
                     </li>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list