Is there a firebase security rule to only allow appending to a list? -


i'd create simple chat app, don't want any user able edit chat-entry list - do want user able append it. possible?

you can utilize exists in write rule:

"chat_list": {    "$chat_entry": {        ".write": " !data.exists() "    } } 

this make possible append not write record exists.


Comments