Summary
In order to support User Notifications, we need to assign them to the user and prevent unauthorized access to notification data.
Describe the solution you'd like
Notifications Collection should consist of the following fields:
event, reference to Event Collection
user, reference to the user subscribed to Business Entity
createdDateTime, date when event was created
readDateTime, date when event was marked as read and switched to be inactive
Notifications endpoint should allow only read notifications for the currently logged in user (utilizing Strapi Policies).
Notifications endpoint should not allow any modifications to notifications.
Notifications endpoint should allow to filter notifications by createdDateTime and readDateTime fields.
Summary In order to support User Notifications, we need to assign them to the user and prevent unauthorized access to notification data.
Describe the solution you'd like Notifications Collection should consist of the following fields:
Notifications endpoint should allow only read notifications for the currently logged in user (utilizing Strapi Policies). Notifications endpoint should not allow any modifications to notifications. Notifications endpoint should allow to filter notifications by createdDateTime and readDateTime fields.
Acceptance Criteria