Watch: Fix Firestore's Missing or insufficient permissions | Vovy
Watch Vovy do it on a Mac: "My Firebase app says Missing or insufficient permissions, fix the rules". Find why Firestore blocks your reads and writes, often expired test-mode rules, and write security rules that are safe and working.
"My Firebase app says Missing or insufficient permissions, fix the rules"
Find why Firestore blocks your reads and writes, often expired test-mode rules, and write security rules that are safe and working.
What happens in the video
- Read the exact error: Vovy opens your app, reproduces the problem, and finds the "Missing or insufficient permissions" error in the browser console along with the path it failed on.
- Open your security rules: Vovy opens Firestore's Rules tab. A common cause is test-mode rules with an expiry date that has passed.
- Write proper rules: Vovy drafts rules that match your data, like each user reads and writes only their own document, and explains each line.
- Test in the Rules Playground: Vovy runs real requests in the Rules Playground as a stranger and as a signed-in user, before anything goes live.
- Publish the rules: Vovy asks, clicks Publish, then reloads your app to confirm the error is gone.
Read the step-by-step guideLoading...