Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the download button regardless of restriction #85

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

srappel
Copy link
Member

@srappel srappel commented Sep 22, 2023

This overrides the document.public? variable in solr_document.rb in order to show the download button on restricted datasets.

This is not a permanent solution.

BTAA has a really elegant solution, for example: https://geo.btaa.org/catalog/999-0003-010

They use a local field: b1g_access_s

@srappel srappel marked this pull request as ready for review September 26, 2023 19:04
@srappel srappel merged commit c616be7 into main Sep 26, 2023
3 checks passed
@srappel srappel deleted the bugfix/show-download-for-restricted branch September 26, 2023 19:07
srappel pushed a commit that referenced this pull request Jan 29, 2024
The CLI didn't seem to be doing anything other than calling rake
tasks directly, so maybe we can get rid of it?

Closes #85
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.

1 participant