0
votes

I had a rule for accessing firestore that limited it to before 2/20 for development purposes. Since that date passed, I updated the rule. But every few days I get an error saying the client didn't have permission to access firestore. I go into the console, and it says I updated the rules five minutes ago that reverted the access rules back to the 2/20 date.

I'm not changing anything, but it seems to be automatically reverting. What is causing this?enter image description here

1
Could it be that you're automatically deploying these rules when you run firebase deploy? - Frank van Puffelen
i think that might be it, thanks! - Qrow Saki

1 Answers

0
votes

Could it be that you're automatically deploying these rules when you run firebase deploy?

If so, make sure that either your local rules files is up to date, or that you run firebase deploy with the --only flag and indicate precisely what it needs to deploy.