Skip to content

Download button present for files in previous dataset versions when newest version is restricted #3576

@jggautier

Description

@jggautier

When viewing a previous version of a dataset published with files that have no download restrictions, but whose newest version has restricted files, no restricted icons (red locks) are shown and there are download buttons. So it appears that those previous versions of currently restricted files are downloadable. But clicking on the download button gives an error that the user isn't authorized to view this page.

  • Are previous versions of currently restricted files supposed to be downloadable? Is there a use case that someone would want others to have access to previous versions of files when their current versions are restricted?
  • If previous versions of currently restricted files should not be downloaded, should their download buttons (and Explore-like buttons) be removed (or replaced with a request access button when the current file can only be accessed by request?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions