I am developing an android app using firebase. I have a user database like this-
user:{
uid:{
uname:user1,
email:[email protected],
phone:1234567890,
level:20,
score:50
}
}
I set "score" node to false for both read and write. And I set both read and write rules for other nodes to true. Both goes fine. But there are many child nodes under each user node. So I have to write read and write rule for each child node. Except "score" node , other nodes have the same rule. Is there some ways to set same rule for multiple child node without writing rules for each node.