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
Private file system and Group module blocks access if the object is private (public, works as normal)
How OpenSeadragon Viewer works ?
Openseadragon Viewer === send request (with image URI) ===> Cantaloupe (iiif server) === send the request to Source (in our case is Drupal itself) ====> return iif json file
If this loop returns 200, the OSD viewer will load the image, but if the object is private, it's return 403
Potential Solution:
Intercept and override header the returned request from Cantaloupe to Drupal with the following module: https://github.com/digitalutsc/private_files_adapter
==> fooling Drupal think that it's not Basic Authentication request (otherwise will be blocked when it's reach at route /system/file/{file uri}
What's next ?
Need to test the potential solution with Book Viewer (Mirador) interface.
Adding more access control based on roles of currently login user (May not need)
The text was updated successfully, but these errors were encountered:
Condition:
Issue:
OpenSeadragon Viewer is unable to load the image
Diagnose
Private file system and Group module blocks access if the object is private (public, works as normal)
How OpenSeadragon Viewer works ?
Potential Solution:
Intercept and override header the returned request from Cantaloupe to Drupal with the following module: https://github.com/digitalutsc/private_files_adapter
==> fooling Drupal think that it's not Basic Authentication request (otherwise will be blocked when it's reach at route
/system/file/{file uri}
What's next ?
The text was updated successfully, but these errors were encountered: