Merge branch 'master' into 5720-ajax-loading-error
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_tab_buttons.html.erb
index 38a7c913d421965de5da099ec9fe5c2b62a64165..4ed27346b4e68b75106482adddd1104073fc5003 100644 (file)
@@ -1,3 +1,4 @@
+<% if current_user.andand.is_active %>
   <% if @object.state.in? ['Complete', 'Failed', 'Cancelled', 'Paused'] %>
 
   <%= link_to(copy_pipeline_instance_path('id' => @object.uuid, 'script' => "use_latest", "components" => "use_latest", "pipeline_instance[state]" => "RunningOnServer"),
@@ -43,3 +44,4 @@
       <% end %>
     <% end %>
   <% end %>
+<% end %>