You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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
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
The text was updated successfully, but these errors were encountered: