I think I'm quite within my rights to demand a full refund. 我认为我完全有权利要求全额退款。
You're within your rights to request a particular teacher.
He's perfectly within his rights to refuse to pay for it.
The question is whether the newspaper was within its rights to publish the photographs.
The judge concluded that the defendant was well within their rights.
Surely you're within your rights to send the dish back if it's not what you ordered.
See also: right noun (MORALLY ACCEPTABLE)