--
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/0b82407b-163a-4d7e-84c4-426409bb7c10%40googlegroups.com.
--
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/38a50cf5-20c8-4694-a818-6afa6d477800%40googlegroups.com.
No, there isn't an easy way to have "restricted" be the default for files.This is "installation persona" territory... Some installations of Dataverse have 100% open access data (not about human subjects) and others (like yours) have almost entirely restricted data.":PublicInstall" is a configuration setting that removes the ability to restrict data: http://guides.dataverse.org/en/4.16/installation/config.html#publicinstall ... It sounds like you want the opposite, except for your 1% of files that can be public. :)So many there should be a new installation-wide setting? ":RestrictedInstall"? Or some other solution? It'll take some thought and development.You *can* set files to be restricted on upload via API ( http://guides.dataverse.org/en/4.16/api/getting-started.html#uploading-files ) so you *could* write your own client or tool that always sets "restrict:true" but I assume you'd rather have a setting that affects the GUI.I hope this helps,Phil
On Mon, Sep 9, 2019 at 9:58 PM MM - ADA <Marina...@anu.edu.au> wrote:
Hi - 99% of our data files are restricted.--Is there an easy way to set the default for uploaded files to be restricted so1) we don't have to set it manually to restricted for every single file2) we know the default is restricted so we don't inadvertently forget to set it to restrictedThis will require un-restricting any files that aren't restricted, of course, but that is preferable than potentially not restricting a file that needs to be.It would be nice to have an 'Upload restricted files' button that would upload the files and automatically set them to restrictedandan 'Upload files' button for non-restricted filesThanks for feedback/advice/solutions.M.
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-community+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/0b82407b-163a-4d7e-84c4-426409bb7c10%40googlegroups.com.
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/0b82407b-163a-4d7e-84c4-426409bb7c10%40googlegroups.com.
--Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
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/1881dae6-4ce1-421c-8c4a-091518cbd7a3%40googlegroups.com.
Ok. Somebody, please create an issue at https://github.com/IQSS/dataverse/issues :)
On Tue, Sep 10, 2019 at 9:54 AM Stefan Kasberger <kasberge...@gmail.com> wrote:
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/0b82407b-163a-4d7e-84c4-426409bb7c10%40googlegroups.com.
--
Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
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/1881dae6-4ce1-421c-8c4a-091518cbd7a3%40googlegroups.com.
--
Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
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/CABbxx8Gb3LY6LZc9FXF15Zz5Dz3C%3D2vj9HB0Swwm3W%3Dy3q6a-g%40mail.gmail.com.
I don't think the db idea would work, because the code creates the object with restricted = false and that would override the default anyway.
It's not the opposite of ":PublicInstall" because that requires all files to always be public.
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.
=> Ok - sounds reasonable.
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".
=> If this is true, I am not sure it will be worth the effort to make the change. Or it might be - will have to look at it.
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.
Hope these thoughts help,Gustavo
--
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/856b78df-3776-4a7e-9640-2a7aec1a849b%40googlegroups.com.