Firebase's docs show a fix: compare the new document with the stored one using request.resource.data.diff(resource.data).affectedKeys(), then allow only a named list with hasOnly(['name', 'photoUrl']). An allow list beats blocking specific fields, because new fields stay locked until you add them.