I have made several rules based on the userid so wanted to confirm that will these rules block the update done by the cloud functions written in nodejs.
Your cloud functions act as admin. See How to make Firebase Functions act as a user instead of being an admin?
But there is a button in Rules
tab called Rules Playground
that you can use for testing your firestore
rules.