Exporting to different project spaces
Under the new environment that this pipeline runs in, the pipeline itself will need to run in the u034 space and make exports out to u036 sub-projects. It should run as a data admin user that has access to all these groups.
We should add an optional config to the export process:
some_export:
location: 'path/to/u036-subproject/release/{release_name}'
group_access: u036-subproject
primary_data_sources:
wp4_biochemistry: wp4_biochemistry_{now}.csv
clinical_data: null
...
If the group_access
config is present, then chgrp
the new export and do a chmod u=rwx,g=r-x,o=---