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? -

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

ajax - PHP/JSON Login script (Twitter style) not setting sessions -