2022-05-21 A Useful Custom Function to Debug Firestore Security Rules Debugging Firestore security rules can be tricky. This article introduces a custom assert function that logs meaningful messages, making it easier to identify why a request is denied.