포인트 부족 시 글 열람 금지 설정해도, 글을 볼 수 있는 버그 패치 #1203
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ps. 앞의 PR 이 옛날 브랜치 기준이여서.. 다시 올립니다.
게시판에서 글 열람시 포인트 차감되게 설정해두고
포인트 설정에서 '글 열람 금지' 에 체크되어 있는 경우...
포인트 부족시 글이 안 보여야하는데
처음에는 안 보였다가.
그 후 해당 글을 새로고침하거나, 목록으로 갔다가 다시 그 글을 보거나 할경우
글이 그대로 노출되는 버그가 있습니다.
이유는 해당 글을 읽었다고 세션에 기록이 남기 때문이죠.. 수정했습니다.