Feature: Say why a notification reaches its reader 

Description 

A client opened a tapped notification by its subject, but the link is the same for the person who asked and the person who decides, so it could not tell whether to lead to the own leave, to the approvals or to the team. Every notification now carries audience: self for the reader's own matter, approver where the reader decides, team for someone in the reader's scope with nothing to decide, and hr where the reader is told as HR or administrator. The notification type sets it for each recipient, it is stored with the notification, and it is part of the items of GET /notifications and GET /notifications/{id}, of the push envelope and of the real-time message notification.created. Notifications stored before are null. An architecture test fails for a notice that names no audience.

Impact 

API clients and the app may route a notification by audience instead of guessing from the type or the link. Packages that return their own Notice set the audience argument. The migration adds the nullable column audience to notification.