rules change

This commit is contained in:
mantikoros 2022-01-18 21:49:24 -06:00
parent 2fba06a9f8
commit 08d95a74e4

View File

@ -5,7 +5,10 @@ service cloud.firestore {
match /users/{userId} { match /users/{userId} {
allow read; allow read;
allow create: if request.auth != null; }
match /private-users/{userId} {
allow read: if resource.data.creatorId == request.auth.uid;
} }
match /contracts/{contractId} { match /contracts/{contractId} {