Run mode-only notification: Firestore Security Rules Error on Home: Missing or insufficient permissions.

Hello Flutterflow Community.

I would your assistance with the error in the screenshot. I have tried to change my firestore rules but the issue is not being resolved whenever I try to run in both Test Mode and Run Mode I keep getting this error message "Run mode-only notification:

Firestore Security Rules Error on Home: Missing or insufficient permissions. and the UI on my home page is not loading properly.

PLEASE HELP!

These are my current rules

"rules_version = '2';

service cloud.firestore {

match /databases/{database}/documents {

match /places/{document} {

allow create: if true;

allow read: if true;

allow write: if request.auth != null;

allow delete: if false;

}

match /users/{document} {

allow create: if true;

allow read: if true;

allow write: if request.auth != null;

allow delete: if false;

}

match /users/{parent}/bookings/{document} {

allow create: if request.auth.uid == parent;

allow read: if request.auth.uid == parent;

allow write: if request.auth.uid == parent;

allow delete: if false;

}

match /agents/{document} {

allow create: if true;

allow read: if true;

allow write: if request.auth != null;

allow delete: if false;

}

match /groups/{document} {

allow create: if true;

allow read: if true;

allow write: if request.auth != null;

allow delete: if false;

}

match /place_categories/{document} {

allow create: if true;

allow read: if true;

allow write: if false;

allow delete: if false;

}

match /pictures/{document} {

allow create: if true;

allow read: if true;

allow write: if true;

allow delete: if false;

}

}

}

4
12 replies