mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-12 22:13: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> |
||
|---|---|---|
| .. | ||
| app | ||
| collections | ||
| components | ||
| globals | ||
| hooks | ||
| lib | ||
| migrations | ||
| utilities | ||
| css-modules.d.ts | ||
| payload-types.ts | ||
| payload.config.ts | ||