Let's discuss the black magic we just created!
- We're setting a new path for our Articles awesome website in the drafts section for a specific user, represented in the uid dynamically changed value.
- Under that specific path or route, we're securing the sub-routes and check the create, public, and delete routes by checking that the currently authenticated user uid is the same as the one who is to manipulate that data within our database.
- We're setting the isCreator function with uid as a parameter for privileges checking.