Skip to content

[IULRDC-209] restrict zip_download#233

Merged
aploshay merged 4 commits into
mainfrom
iulrdc-209_restrict_zip_download
May 18, 2026
Merged

[IULRDC-209] restrict zip_download#233
aploshay merged 4 commits into
mainfrom
iulrdc-209_restrict_zip_download

Conversation

@aploshay

Copy link
Copy Markdown
Contributor
  • removes zip_download from routing, when disabled via settings
  • adds #large_file? method to detect Fedora-backed files that are above Fedora-storage size limit
  • zip_download now excludes large files, in addition to archive (SDA-only) files

@aploshay aploshay requested a review from rdlebeau May 15, 2026 18:45

@rdlebeau rdlebeau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting unit testing for the export_file_sets_to function in the data_sets_controller.rb file.

Comment thread app/controllers/hyrax/data_sets_controller.rb
Comment thread spec/support/shared_examples/archive_file_behavior.rb Outdated
@aploshay aploshay force-pushed the iulrdc-209_restrict_zip_download branch from 9ec1009 to 58d36a2 Compare May 18, 2026 18:39

@rdlebeau rdlebeau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve these changes.

@aploshay aploshay merged commit d82e5d1 into main May 18, 2026
2 checks passed
@aploshay aploshay deleted the iulrdc-209_restrict_zip_download branch May 18, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants