I have been trying to make all documents in a subcollection be totally readable using these security rules:
match /books {
allow write, update, delete: if false; // This collection cannot be modified
match /sells {
allow read: if true; // All documents and sub-collections of this collection are readable
}
}
But when I try to read a document of the sell subcollection I get the Firebase permissions error. What am I doing wrong?