docs: document firestore security rules and composite indexes (closes…#269
Open
Snehith-Roy wants to merge 3 commits into
Open
docs: document firestore security rules and composite indexes (closes…#269Snehith-Roy wants to merge 3 commits into
Snehith-Roy wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
indresh404
previously approved these changes
Jun 3, 2026
Owner
|
Check tests failed |
Owner
|
If your PR still shows the old failed Vercel check, please rebase (or merge the latest main branch into your branch) and push again to trigger a fresh deployment/check run. |
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.
… #219)
Pull Request Template 🚀
Description
This PR adds
docs/FIRESTORE_SECURITY.mdto document the security rules and composite index setups as requested. It thoroughly outlines:isOnlyProfileUpdate()helper and the whitelisted profile fields.isStreakUpdate()helper and validations preventing longest streak manipulation.gitRankPointscalculations.usedByentries and arbitrary point farming.userscollection filtered byonboardingStatus.Related Issue
Closes #219
Type of Change
Please delete options that are not relevant:
Screenshots / Videos (if applicable)
N/A - Documentation addition only.
Testing Done
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
npm run testnpm run lintnpm run buildhttp://localhost:5173)firestore.rulesandfirestore.indexes.jsonChecklist
Contributor Declaration