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

Allow for granular per-file authorization and related display for the PDF viewer in addition to the purl object level location restriction handling #2651

Open
hudajkhan opened this issue Feb 25, 2025 · 0 comments

Comments

@hudajkhan
Copy link
Contributor

hudajkhan commented Feb 25, 2025

Currently, file_auth_controller checks authorization on all the files, and renders the viewer for the first file that corresponds to specific access/authorization rules. When the user clicks on other files in the content list, no further authorization checks are made.

This issue may intersect with how the contents list is created in the first place and whether we do (or do not) want specific items in the contents list to display.

Example item with multiple PDFs: https://sul-purl-stage.stanford.edu/gm706hs4976

@hudajkhan hudajkhan changed the title Allow PDF viewer to check authorization for files in the content list when the user clicks on them Allow for granular per-file authorization and related display for the PDF viewer in addition to the purl object level location restriction handling Feb 25, 2025
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

No branches or pull requests

1 participant