the-road-to-react-with-firebase / react-firebase-authentication

🔥 Boilerplate Project for Authentication with Firebase in React.
https://www.robinwieruch.de
1.02k stars 298 forks source link

Security rules format #29

Closed iryhor closed 5 years ago

iryhor commented 5 years ago

The format of the security rules seems to be in the format of Firebase Realtime Database, not in the "match" syntax of Cloud Firestore.

rwieruch commented 5 years ago

Yes, there is an issue for it: https://github.com/the-road-to-react-with-firebase/react-firestore-authentication/issues/10 Do you mind tackling it? :)

iryhor commented 5 years ago

I responded on that issue thread, but I haven't collaborated to an open source project before so I'm just attached the code to my response. Apologies for the noobiness.