dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

Dataverse setting to restrict files per default

Open adam3smith opened this issue 5 years ago • 1 comments

As discussed here. Several installations including ADA, AUSSDA, and QDR restrict most of their files and it would be very convenient to have all files restricted by default. @scolapasta in the google group suggests the following approach/considerations:

This should just be a setting in the settings table ":RestrictFilesByDefault" (or something like that) with the default being false. It would be straightforward to check this code when you upload a dataset.

Do note that this will have to change once we add DataTags support, but I imagine we could have "defaultDataTag" and migrate the above from "false" to "blue" and "true" to "yellow".

The other thing to note is that currently when a user does restrict a file, we "nudge" the user to allow request access and / or add terms. We'd lose this in the case of default restricted, so another addition is that it may be worth considering nudging them at upload time, in this scenario.

I imagine that setting should be an admin setting at the dataverse level, right?

adam3smith avatar Sep 11 '19 01:09 adam3smith

I am also interested in this and think that it would be nice if:

  • managed by dataverse: for example a dataverse is a project where everything is restricted
  • manged via the dataset template: if I create a new project I can then choose that everything is restricted by default

tgoelles avatar Jul 22 '22 15:07 tgoelles