Firestore Rules outdated but correct

Troubleshooting

Hello,

My firestore rules are out of date while I have not made any additions or modifications to the structure or permissions.

Looking more closely at the before/after, I realize that the rules that must be added to Firestore are too restrictive and come out of nowhere. In addition, they are placed at the very top.

Here they are:

service cloud.firestore {

match /databases/{database}/documents {

match //{document} {

allow create: if /databases/$(database)/documents/Users/$(request.auth.uid) == request.resource.data.sender;

allow read: if false;

allow write: if false;

allow delete: if false;

}

}

}

Has anyone had this problem? How can I make the warning disappear and remove these rules from the next version?

Thanks in advance.

What have you tried so far?

Nothing

Did you check FlutterFlow's Documentation for this topic?
No
1
1 reply