🎁 Access Control List
Use an ACL for fine-grained user authorization
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);
}

example of an Access Control List in Firestore