MSD-LIVE / issues

0 stars 0 forks source link

add a cron job that emails project admins about pending memberships, project curators about pending dataset requests (only projects with pendings) #104

Open zguillen opened 1 year ago

zguillen commented 6 months ago
  1. will need to either query ES or RDM apis to get each project, for each project it's list of admins (both should have it)
  2. see how landing page queries for pending members list and do same thing
  3. I'm not sure how to query for the pending datasets, pair with Zoe when tackling this part of the task (do last)
  4.  for how to hook in your cron task, see commented out section at bottom of /msdlive-rdm-app/invenio.cfg for example cron job task: msdlive_rdm_contrib.tasks.prune_orphaned_files
  5. for how to send an email see send_project_membership_email used in msdlive-rdm-contrib/msdlive_rdm_contrib/projects/api.py
jugovimm commented 5 months ago

TODO: Ask Casey if he still wants this