Could anyone tell me what is the difference between allow write
and allow create update
in writing conditions for Cloud Firestore Security Rules?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With