Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- service cloud.firestore {
- match /databases/{database}/documents {
- // Anyone can read a product, only authorized
- // users can create or update. Deletes are not allowed.
- match /products/{productId} {
- allow read: if true;
- allow create, update: if request.auth.uid != null;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement