fix rules

This commit is contained in:
mantikoros 2022-01-26 16:50:02 -06:00
parent 0d65d8c83f
commit 48bbbc46c8

View File

@ -16,7 +16,7 @@ service cloud.firestore {
}
match /private-users/{userId} {
allow read: if resource.data.creatorId == request.auth.uid || isAdmin();
allow read: if resource.data.id == request.auth.uid || isAdmin();
}
match /contracts/{contractId} {