File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -19,25 +19,19 @@ service cloud.firestore {
1919
2020 match / users/ {userId } {
2121 allow read ;
22- allow create : if request .auth.uid != null ;
2322 allow update : if request .auth.uid == userId;
2423 }
2524
2625 match / discussion/ {discussionId } {
2726 allow read ;
28- allow create : if request .auth.uid != null ;
29- allow update : if request .auth.uid == resource.data.ownerId ;
3027 }
3128
3229 match / discussionMessage/ {messageId } {
3330 allow read ;
34- allow create : if request .auth.uid != null ;
35- allow update : if request .auth.uid == resource.data.ownerId ;
3631 }
3732
3833 match / notification/ {document =** } {
3934 allow read ;
40- allow write : if false
4135 }
4236
4337 match / subscriptions/ {subscriptionId } {
@@ -47,19 +41,11 @@ service cloud.firestore {
4741
4842 match / payments/ {paymentId } {
4943 allow read ;
50- allow write : if false
51- }
52-
53- match / billingDetails/ {billingDetailsId } {
54- allow read ;
55- allow write : if false
5644 }
5745
5846 match / bankAccountDetails/ {bankAccountDetailsId}{
59- allow read :
60- if " trustee" in request .auth.roles ;
61- allow read :
62- if request .auth.uid == resource.data.userId ;
47+ allow read : if " trustee" in request .auth.roles ;
48+ allow read : if request .auth.uid == resource.data.userId ;
6349 }
6450
6551 match / cards/ {cardId } {
You can’t perform that action at this time.
0 commit comments