Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
JIRA
📝 작업 내용
📌 요약
🔍 상세
[1] 규칙 만료일 변경
firestore.rules,storage.rules:timestamp.date(2026, 9, 25)→timestamp.date(2027, 1, 1)database.rules.json:now < 1790262000000→now < 1798729200000(2027-01-01 00:00 KST)💬 리뷰 노트
콘솔에는 이미 배포했습니다
세 규칙이 모두 2026-09-25에 만료되어, 그대로 두면 로그인 후 유저 문서 생성, FCM 토큰 저장, Storage 이미지 로딩이 모두 권한 거부로 실패합니다.
PR을 머지해도 콘솔 규칙은 바뀌지 않기 때문에, 리뷰를 기다리지 않고
firebase deploy --only firestore:rules,database,storage로 먼저 배포했습니다. 이 PR은 저장소의 규칙 파일을 콘솔과 맞추는 용도입니다.인증 기반 규칙 대신 기한 연장을 선택한 이유
로그인은 구현되어 있지만 약속, 채팅, 공유 장소는 아직 Mock이라 Firestore 컬렉션 구조가 정해지지 않았습니다. 지금 규칙을 작성하면 서버 전환 작업마다 다시 고쳐야 해서, 기한만 연장하고 구조가 정해진 뒤에 한 번에 작성하기로 했습니다.
참고: 서비스별 만료 기준 시각 차이
Firestore와 Storage의
timestamp.date()는 UTC 기준(2027-01-01 09:00 KST)이고, RTDB는 기존 값에 맞춰 KST 자정으로 계산했습니다. 둘 다 12/31을 포함하므로 그대로 두었습니다.추후 작업