servii-frontend/firestore.rules
2024-06-26 22:26:44 +01:00

9 lines
201 B
Plaintext

rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow read: if request.auth!= null && request.auth.uid == userId;
}
}
}