When the new_project function was implemented, there was no parameter and functionality to make projects viewable. For NF, unlike other consortia where the phases of sharing are typically Private -> Limited Sharing -> Viewable/Downloadble, all projects should now start in Viewable. So we need something like a helper make_public_viewable and for new_project to use it or not depending on the study configuration.
Handle new configuration from https://github.com/nf-osi/dcc-site/issues/436.
When the
new_project
function was implemented, there was no parameter and functionality to make projects viewable. For NF, unlike other consortia where the phases of sharing are typically Private -> Limited Sharing -> Viewable/Downloadble, all projects should now start in Viewable. So we need something like a helpermake_public_viewable
and fornew_project
to use it or not depending on the study configuration.