Imagine the following security rules for a node called asd in Firebase database.
"asd": {
".write": false,
"$eid": {
"prop1" : {".read": false},
"prop2" : {".read": false},
"prop3" : {".read": true}
}
}
When using firebase to query the asd
node, I was expecting it to return only prop3
. But, in fact, it is not returning anything. And from what I read at the documentation, it seems this is acting as expected.
So, my question is, with such a database structure, how to define the rules so that when I query the database I only get prop3
back?