1

I'm getting an alert saying that I have missing or insufficient permissions when trying to access anything within this collection on the client-side of the app. On the console however, I get am able to do creating and writing. I also made sure to allow my other collections to be open read/write, however that still gives me insufficient permissions. Is there an issue with my formatting?

enter image description here

enter image description here

Andy
  • 113
  • 7

1 Answers1

0

i think the issue may be that you have the if true clause in there, but with no variable to compare against. if "what" is true? its blank. so the security rules block you from accessing the docs because it cant verify that nothing is true.

if you just want to have a wide open security rule then just use this.

allow read, write;

and remove the if true statement.

Strid3r21
  • 317
  • 2
  • 5