1. 23
    Refactor Firebase Security Rules to Use Functions for Easier Reading
    2m 29s

Refactor Firebase Security Rules to Use Functions for Easier Reading

InstructorJorge Vergara

Share this video with your friends

Send Tweet

Our Security Rules are getting repetitive with all the logic that we've copy and pasted for the several actions we currently have.

In this lesson, we'll go through our security rules and extract the duplicated rules into functions that we can call.

With this approach, we can eliminate the copy/pasting and make our functions a bit more readable.