rules change
This commit is contained in:
parent
2fba06a9f8
commit
08d95a74e4
|
@ -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} {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user