-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add setting for Xpress email recipients. #1297 #914
base: develop
Are you sure you want to change the base?
Conversation
…:UserOfficeProject/user-office-core into 1297-Xpress-setting-for-email-recipients
IF register_patch('0168_XpressEmailSetting.sql', 'Chi Kai Lam', 'Xpress email setting for recipients SAMPLE_SAFETY_EMAIL and TECHNIQUE_SCIENTISTS_EMAIL', '2025-01-13') THEN | ||
BEGIN | ||
INSERT INTO settings (settings_id, settings_value, description) VALUES ('SAMPLE_SAFETY_EMAIL', '', 'Email address for the sample safety.'); | ||
INSERT INTO settings (settings_id, settings_value, description) VALUES ('TECHNIQUE_SCIENTISTS_EMAIL', '', 'Email address for the Xpress technique scientist.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how it will work to have technique scientists as a static setting. The email needs to be sent only to the scientists belonging to the technique the proposal is submitted to, and we don't know which technique that is until the proposal has been submitted. If the setting has every technique scientist in it, it would alert scientists in other techniques that don't care about the proposal (not to mention require us to maintain another list).
Hello @bashanlam , |
Closes #
UserOfficeProject/issue-tracker#1297
Description
Add Xpress setting for email recipients.
Motivation and Context
Add Xpress setting for email recipients.
How Has This Been Tested
Manually tested Xpress setting for email recipients.
Changes
Insert record to Setting table for Xpress email recipients SAMPLE_SAFETY_EMAIL and TECHNIQUE_SCIENTISTS_EMAIL.
Update backend function for the Xpress email recipients.
Tests included/Docs Updated?