대시보드 목록/상세 조회 권한을 company_code 기반으로 변경

This commit is contained in:
dohyeons
2025-12-01 10:30:47 +09:00
parent 1462700c83
commit 53eab6ac9c
2 changed files with 12 additions and 9 deletions

View File

@@ -419,7 +419,7 @@ export class DashboardController {
limit: Math.min(parseInt(req.query.limit as string) || 20, 100),
search: req.query.search as string,
category: req.query.category as string,
createdBy: userId, // 본인이 만든 대시보드만
// createdBy 제거 - 회사 대시보드 전체 표시
};
const result = await DashboardService.getDashboards(