Maybe, but to me, this still looks like an intrusion to people's privacy.
Edit
To those "but if they tell you before". I reply: it still is. Google/Facebook tell you before that they will use your data for advertisement, some still think that's an intrusion of people's privacy anyway. However, Google/Facebook give me something in return, so I play along, but what's in it for me when a company makes my paycheck public? I just don't see the point of it. Also, once you grow over a certain size, I don't believe you can make up salaries with such rigid rules.