Skip to content

Users sometimes see "Guestbook Entry At Access Request" guestbooks when downloading public files #11835

@jggautier

Description

@jggautier

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When trying to download a public or unrestricted file in a dataset that has a guestbook whose mode is "Guestbook Entry At Access Request".

    For example, the dataset at https://doi.org/10.7910/DVN/25833 has such a guestbook applied to it. When a user tries to download a public file in that dataset, they see the guestbook. Also see a dataset on Demo Dataverse.

  • Which pages does it occurs on?
    On the dataset page. It may not happen while on the public file's page because of the bug reported at #11800

  • What happens?
    The user sees the guestbook

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

  • What did you expect to happen?
    The user does not see the guestbook, whose mode is "Guestbook Entry At Access Request", when they try to download a public file.

    In the "Configure When a Dataset Guestbook Appears (If Enabled)" section of the Native API guide, we write that when a guestbook's mode is "Guestbook Entry At Access Request," "users may instead be asked to fill out a Guestbook only when they request access to restricted files" in datasets where a guestbook has been applied. I emphasized the "instead" and "only" because they're what make that sentence mean that users should not see such guestbooks when they try to download public files.

    For example, see the dataset at https://doi.org/10.7910/DVN/0NP78B, whose applied guestbook has the mode "Guestbook Entry At Access Request". When a user tries to download the public file in that dataset, they don't see the guestbook.

Which version of Dataverse are you using?
v6.7.1

Any related open or closed issues to this bug report?
#11800

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions