At somebody's discretion phrase
The freedom to decide to do something at your own will
You want to deal with this matter is at your discretion.
The boss gave Tom the permission to do the job at his own discretion.
To do domething based on your emotions rather than for rational reasons
I can't believe that Tom beat his classmate. He's always the one who let his heart rule his head.