Repository navigation
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.
🔗 연관된 이슈
🎯 의도
📝 작업 내용
📌 요약
developmentGoals제외webPages필드 색인 설정 제거🔍 상세
firestore.rulesmatch /{document=**}를match /{collectionId}/{document=**}로 바꾸고collectionId != 'developmentGoals'조건 추가developmentGoals/{goalId}와records/{recordId}는 소유자의 read, create, update 허용versions/{versionId}는 소유자의 read, create만 허용userDataWriteAllowed(userId)조건 유지developmentGoals하위의 정의되지 않은 경로는 허용 규칙이 없어 거부todoLists,userData,counters,notifications,notificationDispatches등 다른 하위 컬렉션의 조건식은 기존과 동일functions/test/firestore-rules.test.jsfunctions/test/firestore-rules.emulator.test.js@firebase/rules-unit-testing으로 목표·기록 생성, 상태 전환, 초안 저장, 한 transaction 안의 버전 생성과currentVersionId갱신 허용 확인functions/package.json@firebase/rules-unit-testing^5.0.2,firebase^12.19.0devDependencies 추가firebase.test.json의 Firestore emulator를demo-devlogproject로 실행하는test:rules스크립트 추가.github/workflows/ci.ymltestjob에 Java 21 설정,firebase-tools@15.24.0설치,npm run test:rules단계 추가README.mdnpm run test:rules와 실행 전제 추가nestjs-api/src/web-pages모듈과web-pages.e2e.test.ts를 삭제하고AppModule의WebPagesModule연결 제거firebase.json의devlog-staging/api/web-pages/**rewrite와firebase-hosting.test.js의 기대값 제거functions/src/webPage/cleanup.ts의cleanupSoftDeletedWebPages와FirestorePath의webPages경로 제거firestore.index.json의webPagesisDeleted필드 색인 설정 제거README.md,docs/cloud-run-staging.md,docs/firebase-hosting-staging.md의 WebPage 경로와 확인 절차 제거README.md배포 절에 제거한 함수의 project별 삭제와 함수 삭제 뒤 색인 배포 순서 추가webPages문서와 사용자 하위 재귀 규칙의 권한은 변경하지 않음