0

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.

Deepak Lohmod
  • 2,072
  • 2
  • 8
  • 18

1 Answers1

1

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.

Teempy
  • 491
  • 4
  • 11
  • I want functions to bipass security rules. Do i need to do anything? – Deepak Lohmod Oct 26 '21 at 11:26
  • Cloud functions always bypass any of the rules you made for your ```Firestore Database```. So if you want to bypass them, you do not have to do anything, but if you need your functions act with user permissions, you have to implement it yourself. – Teempy Oct 26 '21 at 11:31