diff --git a/devdocs/specs/core-notification.txt b/devdocs/specs/core-notification.txt index aaa15a7d..0960b9c5 100644 --- a/devdocs/specs/core-notification.txt +++ b/devdocs/specs/core-notification.txt @@ -93,7 +93,7 @@ GlobalBizSettings Add Notification system ACTIVE bool value GlobalOpsNotificationSettings (copy from backup settings) - SMTP creds, return address, emergency ops address + SMTP creds, return address ALL COREBIZ Need CRUD check for notification events @@ -119,6 +119,7 @@ NotifyEventBiz handles CRUD for notify events, called statically from all over the place puts events in the table, removes them, updates them Has no part in delivery except maybe to provide list to delivery object + provides list for admin user to remove items if they want and to view what is in there to be processed NotificationBiz handles CRUD for (app) Notification items displayed to user in app UI diff --git a/server/AyaNova/models/GlobalOpsNotificationSettings.cs b/server/AyaNova/models/GlobalOpsNotificationSettings.cs index 44cdfc0c..ab0a1742 100644 --- a/server/AyaNova/models/GlobalOpsNotificationSettings.cs +++ b/server/AyaNova/models/GlobalOpsNotificationSettings.cs @@ -14,6 +14,7 @@ namespace AyaNova.Models public NotifyMailSecurity ConnectionSecurity { get; set; } public int SmtpServerPort { get; set; } public string NotifyFromAddress { get; set; } + public GlobalOpsNotificationSettings() { Active = true;