15

Could anyone tell me what is the difference between allow write and allow create update in writing conditions for Cloud Firestore Security Rules?

Nicholas
  • 501
  • 2
  • 14
amstriker
  • 339
  • 7
  • 19

1 Answers1

27

This is covered in the documentation for granular operations.

write is exactly equivalent to the combination of create, update, and delete. If you allow write, you are implicitly allowing all three more specific permissions. If you allow only create and update, it does not allow documents to be deleted.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441