SwanseaUniversityMedical / concept-library

Concept Library
https://conceptlibrary.saildatabank.com
GNU General Public License v3.0
8 stars 2 forks source link

Amend API so Publish pushes phenotype down review process (if not super user) #1054

Open Hannah-Davies opened 1 year ago

Hannah-Davies commented 1 year ago

Non super user - If user uploads data via API and sets Publish to true, then the request is pushed to review process. If version already been published then any new publication requests are not put down the review process. it is then directly published Super user - If user uploads data via API and sets Publish to true, then the request is directly published

ieuans commented 1 year ago
  1. [ ] Update phenotype upload endpoint to allow for requesting publication on submission (if superuser, automatically publish)
  2. [ ] Automatically publish if previous version has been published
  3. [ ] Update R package template to re-include publish field