When a user signs up and they initialise their data in firestore, I want to validate that they aren\'t attempting to set their role (i.e. so they\'re not setting it to \'adm
Use the in operator to find out if a property of an object doesn't exist.
in
!("role" in request.resource.data)
This yields a boolean. See it in the rules API docs for the Map type.