대시보드 목록/상세 조회 권한을 company_code 기반으로 변경
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user