Notifications
Learner Notifications
| Notification | Can be turned On/Off |
| sso signup notification | No |
| sso signup notification after approval | No |
| Signup notification | No |
| Signup notification admin approved | No |
| Signup notification admin created | No |
| Account rejected | No |
| Account approved | No |
| Account activation | No |
| Live event invite | No |
| Password reset instructions | No |
| Password reset confirmation | Yes |
| Message notification | Yes |
| Invitation to join group | No |
| Group member rejected | No |
| Group member approved | No |
| Comment notice | Yes |
| Follow up comment notice | Yes |
| Order payment failed | Yes |
| Subscription payment failed | Yes |
| Auto enrollment | Yes |
Content Creator
| Notification | Can be turned On/Off |
| Certificate generation error | Yes |
| Asset conversion complete | Yes |
NOTE: Content creator will receive all the above listed Content Creator notifications and also Learner notifications, as a Content creator is also a learner.
Group Owner
| Notification | Can be turned On/Off |
| Group member awaiting approval | No |
NOTE: Group owner will receive all the above listed Group Owner notifications and also Learner notifications, as a Group owner is also a learner.
Admin Notifications
| Notification | Can be turned On/Off |
| New site notification | No |
| Site approved | No |
| Site confirmation | No |
| Site rejected | No |
| Trial expired | Yes |
| Trial reminder | Yes |
| Trial expired deleting site | Yes |
| Payment success | Yes |
| Payment failure | Yes |
| Renewal failed delete site | Yes |
| Cancel subscription | Yes |
| Canceled subscription delete site | Yes |
| Subscription expired delete site | Yes |
| Active user overage | Yes |
| Sigup notification to company admin | No |
| Admin copy order payment failed | Yes |
| Admin copy subscription payment failed | Yes |
| Contact us | No |
NOTE: Admin's will receive all the above listed Admin notifications, Content Creator notifications and also Learner notifications, as an Admin is also a content creator and in turn a learner. Also receives the group owner notifications if he/she owns a group.
Super Admin Notifications
| Notification | Can be turned On/Off |
| Subscription canceled admin notification | Yes |
| Company created notification | No |
| Live event exception | Yes |
| Enterprise plan request | No |
NOTE: Super admin's will receive all the above listed Super admin notifications, Admin notifications, content creator notifications and also Learner notifications, as the Super admin is an Admin and inturn a content creator as well as a learner. Also receives the group owner notifications if he/she owns a group.
General Flow
Disabling notifications:
Implementation Details
Tables
notifications_settings
| notification | String - Unique key |
| notification_type | String (Can be User/Content Creator/Group Owner/Admin/Super Admin) |
| can_be_turned_on_or_off | Boolean |
user_disabled_notifications
| user_id | Integer - Foreign key to users table |
| notification | String |
| notification_id | Integer - Foreign key to notification_settings table |
Associations
User
has_many :user_disabled_notifications, :dependent ⇒ :destroy
User Disabled Notification
belongs_to :user
belongs_to :notification_setting
Notification Settings
has_many :user_disabled_notifications, :dependent ⇒ :destroy