rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents/weight {
match /{document=**} {
allow write: if true;
allow read, write, delete: if
request.auth != null && request.auth.uid == d;
}
}
}
Created
September 27, 2022 09:56
-
-
Save ra9r/5e4ca2a1aeaa5ba3fbd02f0f132c5efe to your computer and use it in GitHub Desktop.
This is an example of how to restrict read, edit, update to content owner only.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment