title: Why am i getting firestore alerts -> Your projects cloud firestore database "default" has insecure rules
body: <p>I want unlogged users of my reactjs webapp to be able to read only &quot;business profile collection&quot;.</p>
  <p><a href="https://i.stack.imgur.com/gtu9d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gtu9d.png" alt="enter image description here" /></a></p>
  <p>I have the following db structure. <a href="https://i.stack.imgur.com/bb4af.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bb4af.png" alt="enter image description here" /></a></p>
  <p>And the following rules:</p>
  <pre><code>rules_version = '2';
  service cloud.firestore {
    match /databases/{database}/documents {
      match /{document=**} {
      allow read : if true;
        allow  write: if request.auth != null;
      }
    }
  }
  </code></pre>
  <p>I am quite new to the firestore rules, i have multiple ways and this is the only one that worked for me.</p>