Skip to content

Conversation

@loseminho
Copy link
Collaborator

📌 개요

  • 비 로그인 사용자도 방 목록 조회가 가능하도록 변경
  • 모든 방 조회 API에서 비공개 방 마스킹 제거
  • 인기 방 목록에 비공개 방 포함해서 보여주도록 변경

🔨 작업 내용

  • SecurityConfig에 조회에 대한 permitAll을 추가,
  • 비로그인, 로그인 사용자를 구별하기 위해 getUserIdOrNull() 메서드를 추가해서 비로그인 시 userId는 null 값으로 받음.
  • 위 두가지의 작업과 마스킹 제거를 통해 위 개요의 로직으로 수정 및 변경
  • 해당 사항에 대한 주석 내용 수정 및 변경
  • Test 코드에서 getUserId() 메서드를 사용하던 내용을 getUserIdOrNull() 메서드 사용으로 수정

🔗 관련 이슈

Closes #257

✅ 체크리스트

  • 기능 동작 확인
  • 테스트 코드 작성
  • 문서/주석 추가 및 최신화

: 조회 분할
@loseminho loseminho self-assigned this Oct 13, 2025
@github-actions github-actions bot changed the title Refactor: 프론트엔드 요청 사항에 따른 스터디룸 조회 수정 Refactor: 프론트엔드 요청 사항에 따른 스터디룸 조회 수정 (#257) Oct 13, 2025
@loseminho loseminho merged commit fcf5718 into dev Oct 13, 2025
3 checks passed
@github-actions github-actions bot deleted the refactor/257 branch October 13, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants