nih-cfde / dashboard-api

Other
0 stars 0 forks source link

Create new endpoint to power approval of a pending catalog submission from a DCC #4

Closed victor73 closed 3 years ago

victor73 commented 3 years ago

When a DCC authorized user is reviewing the details of a submitted catalog submission, a button will be available for that user to declare the submission as "approved". The UI will contact the dashboard api through a dedicated endpoint to mark the submission as approved. So we need a new endpoint to enable this action. There is a question about what the API would actually do though, which we hope to clarify soon: Would there be support in deriva.py to mark the submission as approved, would the API simply send a notifications (email) to the right backend engineers to make the necessary changes, or something else?

victor73 commented 3 years ago

No longer needed after discussions.