What happened?
On the dataset detail page, the cover image fails to load (broken image icon) when the dataset is private.
The cover image is loaded via <img src="/dataset/{did}/cover">. The backend sees an anonymous request and returns 403 Forbidden for private datasets.
Owners and users with READ access should see the cover image of private datasets on the detail page, the same way they do for public datasets.
How to reproduce?
- Log in as any user
- Create a new dataset and set dataset visibility to private
- Upload an image file into the dataset
- Right-click the image in the file tree and set it as the cover
- Observe a broken image icon where the cover should be displayed
Branch
main
Commit Hash (Optional)
No response
What browsers are you seeing the problem on?
No response
Relevant log output
What happened?
On the dataset detail page, the cover image fails to load (broken image icon) when the dataset is private.
The cover image is loaded via
<img src="/dataset/{did}/cover">. The backend sees an anonymous request and returns 403 Forbidden for private datasets.Owners and users with READ access should see the cover image of private datasets on the detail page, the same way they do for public datasets.
How to reproduce?
Branch
main
Commit Hash (Optional)
No response
What browsers are you seeing the problem on?
No response
Relevant log output