trezy/firebase-system-update

View on GitHub
firebase/firestore.rules

Summary

Maintainability
Test Coverage
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if false;
    }

//     match /configurations/{configurationID} {
//             // Campaigns should only be created by the API via the Admin SDK, which ignores security rules
//         allow read, write: if false;

//       match /projects/{projectID} {
//             allow read;
//       }
//     }

    match /serviceAccounts/{serviceAccountID} {
      allow read, write: if false;
    }
  }
}