Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

firestore.rules 715B

12345678910111213141516
  1. service cloud.firestore {
  2. match /databases/{database}/documents {
  3. match /{document=**} {
  4. // This rule allows anyone with your database reference to view, edit,
  5. // and delete all data in your database. It is useful for getting
  6. // started, but it is configured to expire after 30 days because it
  7. // leaves your app open to attackers. At that time, all client
  8. // requests to your database will be denied.
  9. //
  10. // Make sure to write security rules for your app before that time, or
  11. // else all client requests to your database will be denied until you
  12. // update your rules.
  13. allow read, write: if request.time < timestamp.date({{IN_30_DAYS}});
  14. }
  15. }
  16. }