diff --git a/firestore.rules b/firestore.rules index 8a1e6f7..33c29b5 100644 --- a/firestore.rules +++ b/firestore.rules @@ -12,8 +12,11 @@ service cloud.firestore { // Make sure to write security rules for your app before that time, or else // all client requests to your Firestore database will be denied until you Update // your rules - match /{document=**} { - allow read, write: if request.time < timestamp.date(2023, 9, 28); + //match /{document=**} { + //allow read, write: if request.time < timestamp.date(2023, 9, 28); + // } + match /books/{document=**} { + allow read: if true; } } } \ No newline at end of file diff --git a/storage.rules b/storage.rules index f08744f..c807920 100644 --- a/storage.rules +++ b/storage.rules @@ -6,7 +6,7 @@ rules_version = '2'; service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { - allow read, write: if false; + allow read, write: if true; } } }