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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -