Let's explain what just happened in the preceding Bolt rules:
- We're securing the path of the article, making the resources available for the public to read, but in order to write, you will need to be logged in, which means you need to be authenticated. The isLoggedIn() function makes sure of that by testing that the global auth variable is not null.
- We're creating the article type, the article type has a title, content, those types are validated for length, plus an author field that represents the currently authenticated user uid.