Uncategorized
this tewst
Fix Data Structure: I will ensure the article data passed to Firestore matches the expected Article type, specifically handling the posts property which should not be part of the initial document creation.
Refine Security Rules: I’ll also add a specific write rule for the /articles/{articleId}/posts/{postId} path to ensure the application has the explicit permission to create and update the posting status documents. This will prevent future permission errors on that subcollection.