Sample Firestore security rules for an Access Control List (ACL), where the content determines which users have authorization.
match /posts/{document} {
allow read;
allow write: if resource.data.members.hasAny(request.auth.uid);
}
Sample Firestore security rules for an Access Control List (ACL), where the content determines which users have authorization.
match /posts/{document} {
allow read;
allow write: if resource.data.members.hasAny(request.auth.uid);
}
Ask questions via GitHub below OR chat on Slack #questions