In negotiation, typically the party with the most information has a better negotiating position. Posting salaries is a significant piece of information that will almost certainly help a competitor since it greatly reduces the cost of them acquiring the knowledge.