🎁 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.

file_type_firebase rules.json
match /posts/{document} {

    allow read;
    allow write: if resource.data.members.hasAny(request.auth.uid);

}
example of an Access Control List in Firestore

example of an Access Control List in Firestore

Questions? Let's chat

Open Discord