feat(M10-A): 完成统一通知中心与投递闭环

This commit is contained in:
Codex
2026-08-11 09:17:18 +08:00
parent 41b9cf7349
commit 5d70114bab
46 changed files with 1724 additions and 74 deletions
+2
View File
@@ -52,6 +52,7 @@ export class RbacRepository {
'inventory.read', 'inventory.adjust',
'goods.order.read', 'goods.order.manage',
'goods.storage.read', 'goods.storage.manage',
'notification.read', 'notification.manage',
'cleaning.task.read', 'cleaning.task.write',
'cleaning.statistics.read'))
OR (r.code IN ('TENANT_ADMIN', 'PLATFORM_ADMIN')
@@ -61,6 +62,7 @@ export class RbacRepository {
'inventory.read', 'inventory.adjust',
'goods.order.read', 'goods.order.manage',
'goods.storage.read', 'goods.storage.manage',
'notification.read', 'notification.manage',
'cleaning.task.read', 'cleaning.task.write',
'cleaning.statistics.read'))
WHERE r.tenant_id = ?`,