I have a realtime firebase database and its rules include:
{
"rules": {
"people" : {
".read" : "auth.uid === 'AIza...'",
".write" : "auth.uid === 'AIza...'"
},
}
}
How can I find out to which user this id belongs to? What does this rule do?
CodePudding user response:
What does this rule do?
It grants read and write to the rules/people
DB node only to the user with uid (from the Authentication service) equal to AIza...
. See the