I cannot find an answer to this in the documentation. The default Firebase rules are:
{
"rules": {
".read": "auth != null",
".write": "auth != null"
}
}
I have edited mine to look like this and saved them:
{
"rules": {
"users":{
".read": true,
".write": "auth != null"
},
".read": "auth != null",
".write": "auth != null"
}
}
Without me doing anything, they randomly reset to the old rules after what seems like 12 hours. Am I missing some kind of persist option here?
Adding this from the comments so others don't miss it.
It seems most likely that you're deploying a firebase-rules.json as part of running firebase deploy with the Firebase Tools. See this question. I thought there was also a more recent question about it, but I can't find it right now
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With