mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 23:53:05 +00:00
countUnreadNotifications/loadNotificationList took a caller-supplied recipientID with module-level admin bypass — one misuse away from reading someone else's inbox. They now take the actor (CampaignUser) and read with overrideAccess: false under canReadOwnNotifications, keeping the explicit recipient filter as a second fence. Pin: owner isolation at the loader level in campaignNotifications.int.spec.ts. Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| createCampaignNotification.ts | ||
| notificationEvents.ts | ||
| notificationList.ts | ||
| notificationRecipients.ts | ||
| sendCampaignPush.ts | ||