within your rights

within (one's) rights

Being allowed by the law to do something or behave a certain way. I'm sorry, sir, but he's within his rights to put these signs on his lawn, even if you find them offensive. They were well within their rights to deny entry to the man, who they claimed was intoxicated and unruly.
See also: right, within
Farlex Dictionary of Idioms.

within your ˈrights

having the moral or legal right to do something: They were acting perfectly within their rights when they refused to let you into their house.
See also: right, within
Farlex Partner Idioms Dictionary
See also:
  • the rules of the game
  • on a pedestal, put
  • place (someone or something) (up) on a pedestal
  • put (someone or something) (up) on a pedestal
  • put someone on a pedestal
  • put/set/place somebody on a pedestal
  • set (someone or something) (up) on a pedestal
  • be given to (something)
  • be given to something/to doing something
  • do unto others
References in classic literature
It is not within your rights to ask questions or to require any explanation as to anything which Lucille is required to do by us.
You were also within your rights to ask them to stop phoning and write to you - and if they don't have your address, then I doubt this is genuine.
You are within your rights to terminate the contract without penalty if, as you say, you've given the firm ample opportunity to fix the problem.
You are well within your rights to film whatever you like.
The short answer to your question is that by law, you are entirely within your rights to trim the offending trees, shrubs or whatever back to the centre-line of the boundary.
As a player, if you see that the officials aren't handling the situation then you are well within your rights to walk off the pitch in my opinion.
You're certainly within your rights. However, I wouldn't count on being asked back for a second interview.
"If you have not made an appointment or you're not expecting anyone, you are within your rights not to let them in or even to answer the door."
You are within your rights to demand replacements or return the goods for a full refund as they are unfit for purpose.
"As a player, if you see the officials aren't handling the situation, then you are well within your rights to walk off the pitch, in my opinion.
WITH regard to Gemma Steele letter, "I've been Tango'd" (Mail, March 24), you are within your rights to report the vendor to the trading standards if they are charging more for a product than the flash price.
IT is quite within your rights to have a go at Man United but people like Steve Millward appear with monotonous regularity on your letters page having a go.
You can't complain about the button but you are within your rights to point out the other faults, such as the rip in the lining.
A YOU are within your rights to apply certain rules and have authority to prohibit the wearing of anything from ripped denim shorts to football strips.
If the defect is major, you are within your rights to send it back.