Hmm. My experience tells me that a lot of this depends on the details of the team, and that there isn't a right-for-everyone policy. My story: I worked for a company that paid a bit below market salaries, for the SF Bay Area. I was on a team with two more junior engineers. At one point one disclosed to me that they felt underpaid. That led to a salary discussion where I explained that the company habitually underpaid…
It got out, people got pissed, which they should have been.