IQSS / dataverse.harvard.edu

Custom code for dataverse.harvard.edu and an issue tracker for the IQSS Dataverse team's operational work, for better tracking on https://github.com/orgs/IQSS/projects/34

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable collection level DOI activation by super users to Harvard Dataverse

sbarbosadataverse opened this issue · comments

see closed ticket: IQSS/dataverse#8889

A developer needs to enable this setting in Harvard Dataverse if you want super users to be able to use the API ((https://guides.dataverse.org/en/latest/api/native-api.html#change-collection-attributes)) to change the settings of a collection so that files published in them get PIDs.

@cmbz I hope I tagged this appropriately -- this is ready to be enabled.

2023/11/02: Added to global backlog as per Sonia's Slack request.

2023/11/06: Added 6.1 milestone as per discussion during prioritization meeting

2023/11/20: @landreev will take a look at this today

@sbarbosadataverse Do you have a list of specific collections where dois should be enabled? But yes, enabling it is instant (does not require a restart), so can be done anytime.

@sbarbosadataverse @cmbz To clarify, the installation-wide setting, :AllowEnablingFilePIDsPerCollection has already been enabled.
So yes, anybody with a superuser api token should be able to toggle the registration for individual collections.
But, if you prefer, please feel free to send me/the dev. team the aliases of collections where you want the registration enabled, and we can do that for you as well.

2023/11/20: @landreev has turned this on. @jggautier and @sbarbosadataverse please review.

(@sbarbosadataverse, I just assigned the issue to you for review. Please let me know if you run into any issues using the /attribute api and/or registering files.

Thanks all. I'm going to remove my assignment here.

Closing this issue as the feature has been turned on. Like @landreev said let us know if you run into any issues.