I am trying to understand how the structure of security rules works. I have the following rules:
{
"rules": {
"level1": {
".read": true,
".write": true,
"level2": {
".read": false,
".write": false
}
}
}
}
then testing with a simulator, Iām expected to have access to level 1, NOT to level 2 ...
but the result was i have r / w access to the levels . How so? Am I missing something?
Thank.
source
share