Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates: Able to update all (or multiple) Terms of Use + Access #2585

Closed
eaquigley opened this issue Sep 24, 2015 · 6 comments
Closed

Templates: Able to update all (or multiple) Terms of Use + Access #2585

eaquigley opened this issue Sep 24, 2015 · 6 comments
Labels
Feature: Metadata Feature: Terms & Licensing Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions UX & UI: Design This issue needs input on the design of the UI and from the product owner

Comments

@eaquigley
Copy link
Contributor

Investigate adding a way to update all (or multiple) datasets using the same template to change the Terms of Use + Access without having to go into each dataset and do it.

@eaquigley eaquigley added the UX & UI: Design This issue needs input on the design of the UI and from the product owner label Sep 24, 2015
@eaquigley eaquigley self-assigned this Sep 24, 2015
@mercecrosas mercecrosas modified the milestone: In Review Nov 30, 2015
@scolapasta scolapasta removed this from the Not Assigned to a Release milestone Jan 28, 2016
@pdurbin pdurbin added User Role: Curator Curates and reviews datasets, manages permissions and removed zTriaged labels Jun 30, 2017
@jggautier
Copy link
Contributor

I'm working with someone who would like to update the Terms of Use for multiple datasets in bulk. The SWORD API lets users replace Terms of Use metadata, but it doesn't let users replace only the values in that metadata field: "ALL metadata (title, author, etc.) will be replaced, including fields that can not be expressed with “dcterms” fields." The Native API lets users replace values in metadata fields selectively, but it doesn't allow users to change values in any of the Terms fields (Terms of Use, Confidentiality Declaration, etc.).

Could we make it possible to change Terms fields using the Native API? it seems like this issue suggests a way to make bulk edits through the UI, but maybe adding it to the APIs first would help.

@pdurbin
Copy link
Member

pdurbin commented May 31, 2019

@jggautier yes but a dedicated issue called something like "allow terms to be changed via native API" would be nice.

I do think adding additional capabilities to the API is the right approach rather than building a GUI first.

Also, as we discussed, a workaround for now, in the absence of being able to update terms via the native API might be:

  • serialize your dataset as native dataverse JSON format.
  • change the terms of use via SWORD
  • reupload your metadata from the JSON backup you made

The reason for backing up and re-applying the native JSON format is that with SWORD your metadata will be overwritten with very few (Dublin Core) fields. At least, that's how I believe it works. It's been a while since I've tested this. 😄

@jggautier
Copy link
Contributor

I finally had the chance to test this workaround, and I don't think it will work right now, as of Dataverse 4.18.1. The problem is with the third step, "reupload your metadata from the JSON backup you made." I used the update metadata API endpoint on a dataset that had Terms of Use metadata, and the Terms of Use metadata was removed.

@pdurbin
Copy link
Member

pdurbin commented Jan 17, 2020

@jggautier weird. Thanks for opening this issue by the way:

I imagine as part of that issue we would probably implement CRUD (Create, Read, Update, Delete) for terms so we the terms of use metadata would need to be available on "Read".

@pdurbin
Copy link
Member

pdurbin commented Oct 6, 2022

@jggautier weird. Thanks for opening this issue by the way:

* Allow terms metadata to be changed with Native API

That issue was closed by the semantic API PR:

Does that mean this issue can be closed too? That is, can we update terms for datasets via the semantic API and not worry about the templates?

@pdurbin pdurbin added the Type: Suggestion an idea label Oct 9, 2023
@pdurbin
Copy link
Member

pdurbin commented Nov 12, 2023

The semantic API should do it.

@pdurbin pdurbin closed this as completed Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Metadata Feature: Terms & Licensing Type: Suggestion an idea User Role: Curator Curates and reviews datasets, manages permissions UX & UI: Design This issue needs input on the design of the UI and from the product owner
Projects
None yet
Development

No branches or pull requests

6 participants