Repository navigation
chore(web): deny client access in Firestore and Storage rules - #1119
Conversation
Add deny-all Firestore and Storage rules, register them in firebase.json, and remove unused storageBucket config from the frontend. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: af246d7d-7df0-4d52-b69e-cf483f20610f
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Confidence Score: 5/5
[High impact] The PR appears safe to merge. SummaryAdds deny-all Firestore and Firebase Storage rules and registers them in
Reviews (1) · Last reviewed commit: "chore(web): deny client access in Firest..." · Reviewed by Greptile |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the changes restricting Firebase client access to Firestore and Cloud Storage.
No open issues 🎉
What changed in this PR
Restricts Firebase client access to Firestore and Cloud Storage while leaving IAM and Admin SDK access unaffected.
Changes:
- Add deny-all rules for Firestore and Cloud Storage.
- Register both rules files in Firebase configuration.
- Remove unused storage bucket settings from the web client.
| File | Description |
|---|---|
web/storage.rules |
Denies all client storage reads and writes. |
web/nuxt.config.ts |
Removes the public storage bucket setting. |
web/firestore.rules |
Denies all client document reads and writes. |
web/firebase.json |
Registers both security rules files. |
web/app/plugins/firebase.client.ts |
Removes the storage bucket initialization option. |
Review effort: Balanced
Summary