You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cuz I can't find firebase rules repo so I start the discussion here.
In this blog https://firebase.googleblog.com/2021/01/code-review-security-rules.html at request.resource.data.diff(request.resource.data).unchangedKeys().hasAll([
"authorUID",
"publishedAt",
"url"
])
I think it should be request.resource.data.diff(resource.data)... because we have to compare incoming data with existing data. Tell me if I miss something
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Cuz I can't find firebase rules repo so I start the discussion here.
In this blog https://firebase.googleblog.com/2021/01/code-review-security-rules.html at request.resource.data.diff(request.resource.data).unchangedKeys().hasAll([
"authorUID",
"publishedAt",
"url"
])
I think it should be request.resource.data.diff(resource.data)... because we have to compare incoming data with existing data. Tell me if I miss something
Beta Was this translation helpful? Give feedback.
All reactions