rules change

This commit is contained in:
mantikoros 2022-01-18 21:50:50 -06:00
parent 4528615863
commit 5082c8b3f2

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} {