diff --git a/firestore.rules b/firestore.rules index 6316ef0..e3b1715 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, 12, 7); + //match /{document=**} { + //allow read, write: if request.time < timestamp.date(2023, 12, 7); + // } + match /movies/{document=**} { + allow read: if true; } } } \ No newline at end of file diff --git a/storage.rules b/storage.rules index f08744f..31b5e20 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; } } -} +} \ No newline at end of file