How to make so that everyone who wanted to could read and add data base on Firebase but only I could delete them?

    1 answer 1

    you need to configure FIREBASE RULES where you specify that only admin can delete records

    In this case, everyone can push to read Denmark

     { "rules": { ".read": true, ".write": false } 

    }

    in this fear I push you to think how it should be premiered

      ".write": "auth != null && auth.isAdmin == true" 

    rummage here link must find the answer