rules change
This commit is contained in:
parent
4528615863
commit
5082c8b3f2
|
@ -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