|
|
|
|
|
by kfarr
642 days ago
|
|
Unclear if they had these rules in place already but I'm curious... If the rule permits writing when the userid matches, presumably there is nothing stopping the write operation to change the userid value, to your point. Which then leads me to the next question, what is the practical way to write rules against that operation? |
|
But as expected, you can validate the incoming data as well https://firebase.google.com/docs/firestore/security/rules-co... but this would need to be done for any attribute that might lead to a change of ownership.