nf-osi / nfportalutils

Utilities for NF Portal project and data management
https://nf-osi.github.io/nfportalutils/
MIT License
2 stars 2 forks source link

Update `new_project` functionality to handle new `initPublicView` configuration #98

Closed anngvu closed 1 year ago

anngvu commented 1 year ago

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 helper make_public_viewable and for new_project to use it or not depending on the study configuration.