IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
876 stars 484 forks source link

Feature Request: Change embargo settings via GUI #10795

Open CB-HAL opened 3 weeks ago

CB-HAL commented 3 weeks ago

Overview of the Feature Request Since DV v5.8 there is the very useful option of setting embargoes. But after the embargo was set and the data set was published, the embargo can only be changed from the superuser using the API.

What kind of user is the feature intended for? Curator, Superuser

What inspired the request? We cannot use the embargo function because the depositors want to change the embargo very often and the curators are not familiar with the API functionality.

What existing behavior do you want changed? The modification of embargo settings for published datasets with the GUI, not only via API: /api/datasets/$dataset-id/files/actions/:set-embargo /api/datasets/$dataset-id/files/actions/:unset-embargo

qqmyers commented 3 weeks ago

FWIW: Making the ability to change an embargo after publication a privileged operation was by design - since acceptable embargo periods are something journals and projects might require (so allowing them to be extended by the author later could be problematic), but the lack of a UI option for admins was just to limit scope of the initial PR.

pdurbin commented 3 weeks ago

@CB-HAL as you may now, a new GUI for Dataverse is being written in React at https://github.com/IQSS/dataverse-frontend

We are more likely to implement the functionality there in React than here in JSF, which will be thrown away some day. You're welcome to create an issue in the frontend repo, if you like!