Firebase Security Rules Block Writing to Firebase

后端 未结 2 1287
一整个雨季
一整个雨季 2021-01-24 10:53

Note: This question is tagged polymer because the Polymer library is used to generate the Javascript.

This question is about two different

2条回答
  •  有刺的猬
    2021-01-24 11:36

    @FrankvanPuffelen's answer in Polymer-speak translates into:

    Use the element's .add() method to write data to Firebase from the client while under security rule enforcement. It's more efficient from a code standpoint as firebase-collection handles all the necessary auth tokens for you automatically.

提交回复
热议问题