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

Thumbnail is not loading when media is in Private mode #8

Open
kylehuynh205 opened this issue Jun 28, 2023 · 3 comments · Fixed by #9
Open

Thumbnail is not loading when media is in Private mode #8

kylehuynh205 opened this issue Jun 28, 2023 · 3 comments · Fixed by #9
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@kylehuynh205
Copy link
Contributor

To replicate:

  • Build isle-dc with development branch git clone https://github.com/digitalutsc/isle-dc
  • Run make lite_dev
  • After the build is completed:
    • Create a group called Private*

    • Do the ingest demo content: https://github.com/digitalutsc/islandora_lite_docs/wiki/8.-Ingesting-Content

    • OR

      • Add repostiory item as page content as model
      • Add child nodes under node
      • upload an image as media
    • Add Mirador block with config as screen shot below

    • image

    • Go to Access Control with Group tab, and set parent node and children nodes and their media to Private

  • visit parent node or node/12(if doing the sample data ingest)
  • Encounter the issue thumbnail is not loading due to error 500:
    image

image

@kylehuynh205 kylehuynh205 added bug Something isn't working good first issue Good for newcomers labels Jun 28, 2023
@amym-li amym-li self-assigned this Jul 7, 2023
@amym-li amym-li linked a pull request Jul 7, 2023 that will close this issue
kylehuynh205 added a commit that referenced this issue Jul 10, 2023
Fixes #8 - Thumbnail not loading when media is private
@kylehuynh205
Copy link
Contributor Author

kylehuynh205 commented Jul 10, 2023

the 500 error is gone but it got 403 now.

kylehuynh205 added a commit that referenced this issue Jul 10, 2023
Disable duplicated items in Views when access control is enabled
@kylehuynh205 kylehuynh205 reopened this Jul 11, 2023
@kylehuynh205
Copy link
Contributor Author

To resolve the 403, need to Clear site data

Screenshot 2023-07-11 at 1 53 17 PM

@amym-li
Copy link
Contributor

amym-li commented Aug 8, 2023

unable to reproduce the 403 error on isle-dc lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants