Does anyone know how to enforce security rules in Firebase on writes performed by the admin server?
E.g.:
userDetail: { ".validate" : //some security rule based on database reference// }
I want to ensure that a write by admin server adheres to this validation rule. I understand that a security rule can be put in place on the server itself, but I want to ensure that the data is consistent with another location in the database that can be modified by other server instances.