feat(notification): add unread sidebar count badge and fix project scope upload authorization check

This commit is contained in:
yiling
2026-05-29 23:30:15 +08:00
parent 9c1d672c1e
commit 3ba107bfa4
9 changed files with 147 additions and 27 deletions
+2 -2
View File
@@ -110,8 +110,8 @@ describe('Upload API', () => {
expect(res.status).toBe(200)
expect(authzService.hasPermission).toHaveBeenCalledWith(
expect.objectContaining({
type: ResourceType.Team,
id: 'team1',
type: ResourceType.Asset,
id: 'file1',
permission: Permission.Edit,
}),
)