B. Within the employer's right.
Explanation: An employer of labour has the "right to hire and fire" under the law. Packing corporation the employer of Odell acted within it's rights to fire Odell, after first disciplinary action was taken and the transgression repeated.
Odell violated the company's social media policy.