Skip to content

리로스쿨 재학생 역할 인식 오류를 수정합니다. - #79

Merged
ghandhitechnology merged 1 commit into
mainfrom
fix/riroschool-authentication
Sep 10, 2026
Merged

리로스쿨 재학생 역할 인식 오류를 수정합니다.#79
ghandhitechnology merged 1 commit into
mainfrom
fix/riroschool-authentication

Conversation

@ghandhitechnology

@ghandhitechnology ghandhitechnology commented Sep 10, 2026

Copy link
Copy Markdown
Owner

리로스쿨이 재학생 역할을 재학생으로 반환하면 브리지가 학생 계정을 거절해 가입·재인증·비밀번호 복구가 실패했습니다. 확인된 역할을 기존 contract v2의 학생으로 정규화해 인증을 복구합니다.

  • 문제: 운영 브리지의 최근 진단 5건이 모두 role_not_student로 실패했고, 역할 값은 재학생이었습니다.
  • 수정: 학생재학생만 명시적으로 허용합니다. 학부모·교사·졸업생 및 유사 문자열은 계속 거절하며, 기수·현재 학년 검증을 유지합니다.

변경 범위는 브리지 역할 정규화와 회귀 테스트입니다. API 응답 구조와 DB는 바뀌지 않습니다.

검증: 고정 의존성의 별도 가상환경에서 브리지 테스트 39개와 pip check를 통과했습니다. 신규 성공 테스트 2개는 수정 전 코드에서 실패하는 것도 확인했습니다. 합성 프로필과 서명된 /v1/verify 요청으로 재학생 인증 및 역할 거절을 검사합니다. 호스트에 보관된 실패 진단 5건도 역할 수정만 적용하면 모두 파싱과 기수 검증을 통과했습니다. 학생 정보와 진단 원문은 저장소에 포함하지 않았습니다.

GitHub 통합 검증 게이트도 통과했습니다. 병합 후 운영 Mac 브리지에 수정 코드를 적용했고 /health 정상 상태, 서명 없는 요청 거절, 설치된 파서의 진단 5건 재처리를 확인했습니다. 새로운 학생 계정의 실제 로그인은 별도 확인이 필요합니다.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 9b16fc46-0e73-454e-a3de-cf0bf6801cd6


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ghandhitechnology
ghandhitechnology merged commit add1751 into main Sep 10, 2026
2 checks passed
@ghandhitechnology
ghandhitechnology deleted the fix/riroschool-authentication branch September 10, 2026 15:49
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.

1 participant