260803_03_ENH: 연구는 자기 부서 프로젝트만 보이게 수정

This commit is contained in:
2026-08-03 09:31:22 +09:00
parent 5080b79d40
commit 1fb0912010
4 changed files with 27 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ public class ProjectController {
RequestUserContext ctx
) {
return projectService.getTopProject(topCount, keyword, ctx.getUserId(), ctx.getUserCmpn(),
ctx.getUserRole());
ctx.getUserTeam(), ctx.getUserRole());
}
@Operation(summary = "프로젝트 목록 조회")
@@ -64,7 +64,8 @@ public class ProjectController {
@Valid @RequestBody ProjectSearchRequestDto req,
RequestUserContext ctx
) {
return projectService.searchProject(req, ctx.getUserId(), ctx.getUserCmpn(), ctx.getUserRole());
return projectService.searchProject(req, ctx.getUserId(), ctx.getUserCmpn(), ctx.getUserTeam(),
ctx.getUserRole());
}
@Operation(summary = "프로젝트를 소유하고 있는 모든 부서/실사 목록 조회")