Closed ACharbonneau closed 2 years ago
If we do want to make this a strict enforcement requriement during ingest, I think we need to add a the project_id_namespace
and project_id
fields to the onboarding DCC table and then require that the single primary_dcc_contact
in a submission match these values at the time of submission.
This raises interesting lifecycle behaviors if we allow the value to be edited in the registry, e.g. it would be enforced at time of submission and the currently registered value only affects future submissions. Not sure if we'd want to allow any DCC staff to edit this value via self-service or require CFDE-CC staff involvement in each change?
Revisiting this, I think we should also add something like cfde_dcc_id
to the C2M2 primary_dcc_contact
table definition and require that this match the submitting_dcc
during ingest.
With the evolving plans for including stable DCC ID in the portal catalogs, I think the best approach here would be:
dcc
table to C2M2 as a replacement for dcc_primary_contact
and include the CFDE-issued DCC ID as the id
primary key, while still having the contact info and the foreign key to a project representing the DCCdcc
entry and that its id
matches the submitting dccThis is included in pending changes, but will not detect mistakes with legacy submissions with the primary_dcc_contact
table, since the ingest process will be injecting the submitting DCC id itself so it will always match.
I submitted the GTEx data as GTEx. Then I submitted exactly the same data but as LINCS. The question I was trying to answer is “What breaks if someone who is a submitter at two DCCs submits with the wrong DCC ID?” The answer is, that basically nothing breaks except that the titles don’t match in the UI. If I open the two submissions side by side, you can see it’s the same exact data, just the titles differ, depending on where you look at the title:
https://user-images.githubusercontent.com/1719360/109216482-94c00c80-7782-11eb-8cc4-13b79a1bb9bd.mov
From @karlcz To summarize some discussion started in the automation channel... the core UX question here is different expectations one might have: