We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029c6e6 commit ddc424cCopy full SHA for ddc424c
1 file changed
firestore.rules
@@ -21,8 +21,13 @@ service cloud.firestore {
21
// This is a shared business app where staff need full access
22
// ============================================
23
24
- // Bills collection - all authenticated users can read/write
25
- match /bills/{billId} {
+ // Purchases collection (renamed from bills) - all authenticated users can read/write
+ match /purchases/{purchaseId} {
26
+ allow read, write: if isSignedIn();
27
+ }
28
+
29
+ // Retail Sales collection - all authenticated users can read/write
30
+ match /retailSales/{saleId} {
31
allow read, write: if isSignedIn();
32
}
33
0 commit comments