mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(notifications): add notification center with real-time updates
- add notifications DB schema, repository, service, gateway, and controller - add shared notification types, categories, and preference models - add NotificationAccess permission with authorization matrix probe - add frontend composable with Socket.IO subscription and REST API - add NotificationPopover, NotificationItem, and NotificationPreferences components - integrate notification producers in scanner, metadata fetch, book bucket, author enrichment, email, migration, and file write-back services - add 30-day auto-cleanup via existing CleanupService cron - add 29 backend unit tests for notification service and controller
This commit is contained in:
@@ -411,6 +411,11 @@ describe('Authorization matrix (e2e)', () => {
|
||||
path: '/audit-log',
|
||||
token: 'allPerms',
|
||||
},
|
||||
[Permission.NotificationAccess]: {
|
||||
method: 'GET',
|
||||
path: '/notifications',
|
||||
token: 'allPerms',
|
||||
},
|
||||
};
|
||||
|
||||
const failures: MatrixFailure[] = [];
|
||||
|
||||
Reference in New Issue
Block a user