Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. service cloud.firestore {
  2. match /databases/{database}/documents {
  3. // Anyone can read a product, only authorized
  4. // users can create or update. Deletes are not allowed.
  5. match /products/{productId} {
  6. allow read: if true;
  7. allow create, update: if request.auth.uid != null;
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement