The posting of discount codes is allowed since it both saves the customer money and earns the poster rewards. The only problem I have is this post seems to indicate a sale on a product rather then that they can save with the associate code. Reading the post though it quickly clears that up.