X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/81f6ebc139c29723b62fc0f5e6d0588dfb85897b..789e1eb86b5286f3d34b112e0ab802bd3a2793b2:/apps/workbench/app/views/application/_title_and_buttons.html.erb diff --git a/apps/workbench/app/views/application/_title_and_buttons.html.erb b/apps/workbench/app/views/application/_title_and_buttons.html.erb index 4d54fd08ba..83d08f5527 100644 --- a/apps/workbench/app/views/application/_title_and_buttons.html.erb +++ b/apps/workbench/app/views/application/_title_and_buttons.html.erb @@ -31,7 +31,8 @@ Copy to project... <% end %> <% end %> - <% if @object.owner_uuid == current_user.uuid or (Group.find(@object.owner_uuid).writable_by.include?(current_user.uuid) rescue nil) %> + <% if @object.owner_uuid == current_user.uuid or current_user.is_admin or + (Group.find(@object.owner_uuid).writable_by.include?(current_user.uuid) rescue nil) %> <%= link_to( choose_projects_path( title: "Move this #{object_class} to:",