Skip to content

Thumbnails are displayed when a guestbook is activated #10679

@DS-INRAE

Description

@DS-INRAE
  • When does this issue occur?
    When a guestbook is configured on a dataset, the thumbnails are still visibles.

What steps does it take to reproduce the issue?
Create a dataset,
Add an image to create a thumbnail
Set a guestbook on the dataset
Log out and view the dataset page

  • Which page(s) does it occurs on?
    Dataset page :
    image
    File page :
    image

  • To whom does it occur (all users, curators, superusers)?
    all users

  • What did you expect to happen?
    Thumbnails should behave the same as previews and be displayed only if the guestbook has been filled or if the user has viewing rights on the file

Which version of Dataverse are you using?
5.14

Any related open or closed issues to this bug report?

On thumbnails and restricted files :

On thumbnails code:

Screenshots:

Screencast.from.2024-07-10.15-37-07.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions