Access parent documents field in Firestore rules
问题 I'm implementing a recipe book in Firestore where every user is able to see all the recipes all users created but only the original author of the recipe is allowed to edit or delete the recipe. Any user is also allowed to create a new recipe. My problem is that I am unable to setup the permissions a subcollection to "listen" on a field of the subcollections parentdocument. Each recipe document contains three things. A field called name where the name of the recipe is stored, a field called