I am trying to read/write data to my Firebase Database with the below security rules. I am confused as I believe I've followed the documentation given by firebase.
I've followed this link -> FIREBASE USER BASED SECURITY
I only have two child nodes that I am writing to. User data, and a wireless node data that is entered by the user.
{
"rules": {
"nodes": {
"$user_id": {
".read": "$user_id === auth.uid",
".write": "$user_id === auth.uid"
}
},
"users": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
}
}
}