Merge branch '5105-ajax-redirect' closes #5105
[arvados.git] / apps / workbench / app / views / collections / _show_files.html.erb
index 383ec64c0ab2697b781660644790f35a0e7a7524..02ac2eeb7dbc8a3974ad89a49a7a88d36cf61747 100644 (file)
@@ -83,7 +83,7 @@ function unselect_all_files() {
           </div>
 
           <div class="collection_files_name">
-            <% if !defined? no_checkboxes or !no_checkboxes %>
+            <% if (!defined? no_checkboxes or !no_checkboxes) and current_user %>
             <%= check_box_tag 'uuids[]', "#{@object.uuid}/#{file_path}", false, {
                   :class => "persistent-selection",
                   :friendly_type => "File",