Closed albertlyuan closed 1 year ago
service cloud.firestore { match /databases/{database}/documents { // Allow only authenticated content owners access match /some_collection/{document} { allow read, write: if request.auth != null && request.auth.uid == request.resource.data.author_uid } } }
change to make db: signinUID: {db}
https://firebase.google.com/docs/rules/insecure-rules