From fb2d3e9d292070962cbc0b101dd17321f289c0e7 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 14 Nov 2023 14:21:40 +0000 Subject: [PATCH] Removed unneeded FireBaseRules file --- FirebaseRules.txt | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 FirebaseRules.txt diff --git a/FirebaseRules.txt b/FirebaseRules.txt deleted file mode 100644 index 99aa08f..0000000 --- a/FirebaseRules.txt +++ /dev/null @@ -1,41 +0,0 @@ -Cloud Firestore Rule: - -rules_version = '2'; - -service cloud.firestore { - match /databases/{database}/documents { - - // This rule allows anyone with your Firestore database reference to view, edit, - // and delete all data in your Firestore database. It is useful for getting - // started, but it is configured to expire after 30 days because it - // leaves your app open to attackers. At that time, all client - // requests to your Firestore database will be denied. - // - // 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 /books/{document=**} { - allow read: if true; - } - } -} - - - -Storage Rules: - -rules_version = '2'; - -// Craft rules based on data in your Firestore database -// allow write: if firestore.get( -// /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin; -service firebase.storage { - match /b/{bucket}/o { - match /{allPaths=**} { - allow read, write: if true; - } - } -}