Skip to content

Commit

Permalink
fix(developer): update firestore rules
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Jul 17, 2024
1 parent 8b89d98 commit 43f678c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/developer/firestore.rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ service cloud.firestore {
}
match /keys/{key} {
allow read: if isAuthenticated() && (get(/databases/$(database)/documents/keys/$(key)).data.accountId == request.auth.uid);
allow update: if isAuthenticated() && (get(/databases/$(database)/documents/keys/$(key)).data.accountId == request.auth.uid);
allow update: if isAuthenticated() && (get(/databases/$(database)/documents/keys/$(key)).data.accountId == request.auth.uid) && updatingNotes();
}
}
}

0 comments on commit 43f678c

Please sign in to comment.