I have a database on Cloud Firestore with a collection users
. Each user has write access to their own user
document, but that user
document also contains data such as isAdmin
. How can I restrict the isAdmin
field to be read-only, while giving them write access to other fields?
Thanks