When files are restricted in later versions, the UI for earlier versions doesn't show a lock icon
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
What steps does it take to reproduce the issue?
The way Dataverse currently works, if a file is restricted in the latest version, access is also controlled in the earlier versions (even if the file was no restricted before). However, it's not immediately obvious in the interface as the dataset page file table doesn't show the lock icon on earlier versions (although the download menu 'correctly' shows only 'Request Access' option.
-
Which page(s) does it occurs on? Dataset page, haven't checked file page.
-
To whom does it occur (all users, curators, superusers)? all
-
What did you expect to happen? It should be visibly obvious that a file is restricted, possibly also noting that the file was previously unrestricted.
Which version of Dataverse are you using? latest ~6.7
Any related open or closed issues to this bug report?
Screenshots:
Are you thinking about creating a pull request for this issue? Not sure - should be addressed if present in the SPA at least.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SPA dataset page's file table and compare how restriction status is rendered for the latest and earlier file versions. Reproduce the issue with a file restricted in a later version, then verify that earlier versions visibly show the lock state while the download menu continues to offer only Request Access.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100