Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Remove file download check
Browse files Browse the repository at this point in the history
  • Loading branch information
VivianChu committed Jun 26, 2018
1 parent ff1128e commit a680558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/file_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def show
logger.info "FileController: Master file access requires edit permission"
authorize! :edit, @solr_doc
elsif !@solr_doc['read_access_group_ssim'].include?("public")
authorize! :show, @solr_doc if can_download?(@solr_doc)
authorize! :show, @solr_doc
end

# set headers
Expand Down

0 comments on commit a680558

Please sign in to comment.