I'm trying to secure my data in Firestore. I have read the documentation and managed to arrange rules for the better part of my db but I struggle with one certain case:
the structure of the data is like this:
collection("connections").document( Uid1 ).collection( Uid2 ).().()
I want to allow access to this whole tree for Uid1 and Uid2. What would be the rule for this functionality?