Skip to content

Commit

Permalink
[hotfix] 검색 권한 검사 변수 재할당 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed Sep 19, 2024
1 parent f99a53c commit 90e200d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Object validCommentAuthorityOfPetitionPost(ProceedingJoinPoint joinPoint,
public Object validAuthorityOfSearchPostList(ProceedingJoinPoint joinPoint, Long userId, int page, int take, String q, String boardCode) throws Throwable {
Object result = joinPoint.proceed();
PostListRes<?> postListRes = (PostListRes<?>) result;
postAclHandler.applyPermissionsToPostList(postListRes, userId, boardCode);
postListRes = postAclHandler.applyPermissionsToPostList(postListRes, userId, boardCode);
return postListRes;
}

Expand All @@ -68,7 +68,7 @@ public Object validAuthorityOfSearchPostList(ProceedingJoinPoint joinPoint, Long
public Object validAuthorityOfSearchDataPostList(ProceedingJoinPoint joinPoint, Long userId, int page) throws Throwable {
Object result = joinPoint.proceed();
PostListRes<?> postListRes = (PostListRes<?>) result;
postAclHandler.applyPermissionsToPostList(postListRes, userId, "자료집게시판");
postListRes = postAclHandler.applyPermissionsToPostList(postListRes, userId, "자료집게시판");
return postListRes;
}
}

0 comments on commit 90e200d

Please sign in to comment.