How to use Firebase rules to only give permission to certain leaf nodes
问题 My basic question is how do you setup Firebase rules to only allow access certain leaf nodes from their parent? Lets say I have data that looks like this: root: { posts: { post1: { user: "foo", post: "this is a post", restricted: false }, post2: { user: "bar", post: "this is another post", restricted: true }, post3: { user: "bar", post: "this is my final post", restricted: false } } } I want to $bind to the posts node and get all the posts which that user is allowed to get. I might want the