Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

Set Cloud Firestore Rules Pro

This video was last updated on Aug 30 2022

See how to delete an item from a ListView leveraging a Dismissible widget, that show an animation when the user swipes an item from the ListView.


Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

When you created your Firestore database from the Firebase console, one of the questions that you answered during the setup was whether you wanted to use the database in test mode. This implemented a very permissive rule, so that anyone with the link to your database can get full access to your data.

rules_version = '2'; 
service cloud.firestore { 
  match /databases/{database}/documents { 
match /{document=**}  
if request.auth != null; 
allow read, write: if request.auth != null;