Remove "dataset terms accept"

41 views
Skip to first unread message

Ken Mankoff

unread,
Aug 30, 2022, 10:24:01 AM8/30/22
to Dataverse Users Community
With the upgrade to 5.0 every download requires clicking "Accept" on this dialog. Is there a way to remove this?

Thanks,

   -k.
tmp_20220828_090012.png

Julian Gautier

unread,
Aug 30, 2022, 11:05:42 AM8/30/22
to Dataverse Users Community
Hi Ken. From the screenshot, it looks like the repository, after getting the software update that included the "multiple license" feature, now considers the deposit to have a custom license. That happens for deposits where the CC0 Waiver was waived and something was written in the Terms of Use field.

Could you share the URL to the dataset in the screenshot? I have questions but I think it would be helpful to see what the dataset looks like first.

All best,
Julian

Ken Mankoff

unread,
Aug 30, 2022, 11:25:14 AM8/30/22
to Dataverse Users Community
Hi Julian,

Thanks for looking into this,

   -k.

James Myers

unread,
Aug 30, 2022, 11:52:01 AM8/30/22
to dataverse...@googlegroups.com

Ken,

 

I’m not sure how you get this automatically (one possibility in the text below) but it can be resolved in the database or, for the next/ latest version, by a user/superuser. It’s basically an effect of how the 5.10 update was done.

 

The 5.10 release notes have a lot of detail about what the automatic migration to multiple licenses would do and how to edit to avoid those changes. It looks like the automated process in your case did not replace the choice of CC0 Waiver with a CC0 license and instead took that as a custom term, and so used the phrase you see below as a custom term. (Possibly you had CC0 Waiver repeated in the Terms of Use for these datasets?)

 

In any case, the fix at this point is to give the affected datasets a CC0 license and to remove the Custom terms of use phrase you see from the Terms Of Use field.

 

For the next version, you can just select a CC0 license and remove the phrase from the Terms of Use by editing on the Terms panel before you publish.

 

For the latest published version, a superuser can make the same edit and then choose ‘Update Current Version’ when publishing to update the already published version.

 

To do many datasets, or earlier versions, it is probably easiest to do with a database edit by an admin (and there isn’t much an end user can do in the Dataverse application itself):

 

select * from license;

 

And see which id corresponds to the CC0 license (usually 1)

 

Update termsofuseandaccess set license_id=<id for CC0 license>, termsofuse=null where id=<dataset id>;

 

You could also use a where clause that looks for all the termsofuseandaccess where termsofuse=’<the exact string you see’>;

 

Note – I haven’t tested these (we only made/tested ones to use prior to updating) but they should work unless I have typos – the standard caution of having backups, trying on a test instance apply.

 

Hope that helps,

-- Jim

 

From: dataverse...@googlegroups.com <dataverse...@googlegroups.com> On Behalf Of Ken Mankoff
Sent: Tuesday, August 30, 2022 10:24 AM
To: Dataverse Users Community <dataverse...@googlegroups.com>
Subject: [Dataverse-Users] Remove "dataset terms accept"

 

With the upgrade to 5.0 every download requires clicking "Accept" on this dialog. Is there a way to remove this?

 

Thanks,

 

   -k.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/40a082d3-f2e4-4594-aa0b-1f27f1b94e9cn%40googlegroups.com.

Ken Mankoff

unread,
Aug 30, 2022, 11:53:55 AM8/30/22
to Dataverse Users Community
Hi Jim,

This does help. I will forward this to our admin.

Thank you,

   -k.

Sherry Lake

unread,
Aug 30, 2022, 4:23:26 PM8/30/22
to dataverse...@googlegroups.com
Actually, 

Ken's original statement is correct. Every file in a dataset w non-CC0 and not custom terms gets a popup. UVa is on V5.11.1

Here are screen shots from our test server. A non-logged in user, downloading a file from this dataset, which is a brand new dataset created on V5.11.1:

Screen Shot 2022-08-30 at 4.15.20 PM.png

Gives me this popup:
Screen Shot 2022-08-30 at 4.15.40 PM.png


As the dataset owner this is what the terms are:
Screen Shot 2022-08-30 at 4.16.06 PM.png

I too would love not having this popup for all non-CC0 terms. I have not tried to see if downloading via API works. I'll try that tomorrow.

--
Sherry Lake




James Myers

unread,
Aug 30, 2022, 4:31:20 PM8/30/22
to dataverse...@googlegroups.com

Sorry – two related issues: Dataverse will still show a pop-up for non-default license choices. That was by design – with the idea that if you were grabbing a dataset with non-default terms you should be aware. That said, the code could probably have an option to not show the dialog (ever, or only when not using one of the defined licenses/having custom terms.)  Ken’s are popping up because in the db he has custom terms, so flipping that to be the CC0 license will, if it is the default (which I was assuming in my answer), stop the popup, (At least by design – I haven’t tested lately.)

 

-- Jim

 

From: dataverse...@googlegroups.com <dataverse...@googlegroups.com> On Behalf Of Sherry Lake
Sent: Tuesday, August 30, 2022 4:23 PM
To: dataverse...@googlegroups.com
Subject: Re: [Dataverse-Users] Remove "dataset terms accept"

 

Actually, 

 

Ken's original statement is correct. Every file in a dataset w non-CC0 and not custom terms gets a popup. UVa is on V5.11.1

 

Here are screen shots from our test server. A non-logged in user, downloading a file from this dataset, which is a brand new dataset created on V5.11.1:

 

 

Gives me this popup:

 

 

As the dataset owner this is what the terms are:

 

Reply all
Reply to author
Forward
0 new messages