Feature Request/Idea: show "Link Dataset" button on dataset page only to users with "Publish Dataset" permission on at least one Dataverse
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Overview of the Feature Request
Currently in version 6.2, every logged in user will see the "Link Dataset" button even when they have no "Publish Dataset" permission on any Dataverse. This button could be very confusing to users.
What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
Any user that does not have any Dataverse "Publish Dataset" permissions across the Dataverse installation (and so can't link a dataset).
What inspired the request?
The "Link Dataset" button is confusing. A user should only see the "Link Dataset" button if it's going to allow them to actually Link a Dataset.
What existing behavior do you want changed?
Show the "Link Dataset" button only to users who have "Publish Dataset" permission on one or more Dataverses.
Any brand new behavior do you want to add to Dataverse?
Any open or closed issues related to this feature request?
not sure.
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
The issue names the "Link Dataset" button and the "Publish Dataset" permission but no files or tests. Start by locating the button and the existing permission checks, then verify the button is shown only when the user has that permission on at least one Dataverse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authorization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100