VEuPathDB / EdaNewIssues

0 stars 0 forks source link

Automatically populate requestEmail field in presenter with emails for study team member managers #671

Closed danicahelb closed 10 months ago

danicahelb commented 11 months ago

We would like this prop in the ClinEpiDB.xml file:

<prop name="requestEmail"> </prop>

to be automatically populated for every study with email addresses for "Study team members" who are also "Managers" ... ie, information from the dashboard for that study.

Please automatically pull these manager emails out of the database

If the manager email addresses are NOT pulled out of the database every time that the dashboard is updated, we should make sure that the list of manager emails is updated at a regular interval (perhaps every time a data access request is made? or with every release?).

danicahelb commented 11 months ago

@aurreco-uga if someone updates the email address associated with their VEuPathDB account and the proposed system in this ticket is in place, will it automatically change the email for that provider manager in the dashboard? and will the auto-emails be sent to the updated email address for that provider manager?

danicahelb commented 10 months ago

Wait to QA this ticket until we check in with @dmgaldi and @aurreco-uga:

will the list of manager emails be updated at a regular intervals? when??? Every time the dashboard is updated?

Do we need to manually populate the manager email fields in the presenter? Or do we just make the changes in the dashboard to add managers?

Who gets the emails, is this coming directly from the dashboard or from the presenter?

Where is the master list of who will get the emails (ie, all manager emails for all studies, from the dashboard)? Is there another spot than the data access table?

What prop in the presenter file is being automatically populated? <prop name="requestEmail"> </prop> or <prop name="request_email_bcc"> </prop>

danicahelb commented 10 months ago

will the list of manager emails be updated at a regular intervals? when??? Every time the dashboard is updated?

Do we need to manually populate the manager email fields in the presenter? Or do we just make the changes in the dashboard to add managers?

Who gets the emails, is this coming directly from the dashboard or from the presenter?

Where is the master list of who will get the emails (ie, all manager emails for all studies, from the dashboard)? Is there another spot than the data access table?

What prop in the presenter file is being automatically populated? or

danicahelb commented 10 months ago

added VEuPathDB accounts associated with danicahelb@gmail.com and helbda@yahoo.com to the list of study team members who are managers for MALED on qa.clinepi. Note that I requested access IMMEDIATELY after adding these 2 accounts as managers on the dashboard

helbda@yahoo.com received the request email

danicahelb@gmail.com did NOT receive the request --> I am failing this ticket

The manager emails are included as BCC, in the To: field, we see help@clinepidb.org -- GOOD!

image

Also note that the presenter file does NOT get updated with the manager emails from the dashboard. this is working as expected, as the managers get emails

danicahelb commented 9 months ago

checked again today.

added VEuPathDB accounts associated with danicahelb@gmail.com and danicahelb@hotmail.com to the dashboard list of study team members who are managers for Jilinde Costing study of PREP in Kenya on clinepidb.org. Note that I requested access IMMEDIATELY after adding these 2 accounts as managers on the dashboard

Neither manager account received the request --> I am failing this ticket

danicahelb commented 9 months ago

checked again today, using clinepidb.org

while signed in with my VEuPath account (dhelb@sas.upenn.edu), i deleted the request for Jilinde Costing study of PREP in Kenya previously made from my yahoo account (helbda@yahoo.com)

I then signed in with my yahoo account (helbda@yahoo.com) and requested access to Jilinde Costing study of PREP in Kenya

I received this email, saying that my message (ie, the request) could not be delivered

image

Also, the requestor (not the provider-managers) are getting the access request:

image
danicahelb commented 8 months ago

10/20/2023

when a new email is added to the study team as a "manager" they now receive emails when a request is made. help@clinepidb.org also gets a copy of the request emails.

i also checked the links and (1) the link to the dashboard and (2) the link to the tutorial both work