Skip to content

Prevent guests of a deaccessioned dataset from getting file's info #773

@ChengShi-1

Description

@ChengShi-1

Based on changes IQSS/dataverse#11636 here, download/count and downloadsize will return 403 for user: guests, the getByPersistentId should be refactored to adapt the change

If user:guest and the dataset is deaccessioned:

  • dataset is ok to show basic info, versions and deaccessioned reason
  • NO File info could be shown, cannot direct to file page as well
  • Hide share button
  • Hide metric(prevent fetching download/count

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