Skip to content

IQSS/12548: Add privateurl gb check in downloads - #12569

Draft
qqmyers wants to merge 1 commit into
IQSS:developfrom
GlobalDataverseCommunityConsortium:IQSS/12548-privateUrlDownloadFix
Draft

IQSS/12548: Add privateurl gb check in downloads#12569
qqmyers wants to merge 1 commit into
IQSS:developfrom
GlobalDataverseCommunityConsortium:IQSS/12548-privateUrlDownloadFix

Conversation

@qqmyers

@qqmyers qqmyers commented Jul 29, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it: This is a minimal fix for the issue of a Private URL user not being able to download files from the JSF UI when a guestbook is in use. I believe it also solves the issue of downloads/previewing from previewers.

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer: This PR follows the same pattern as for authenticated users added in #12110 - if the API call comes in without authentication, make a special check for authentication via the session and verify that user has permission to download from the draft and disable the guestbook requirement if they do. An alternative approach would be to sign the download URL that the JSF will redirect to, but if that approach is taken, it should probably be done for both Private and Authenticated users.

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

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