#793042 by franz: Required file fields not validated properly when Content permissions hide the field.