When describing someone as correct or accurate, the correct phrase to use is “you’re right” (e.g., “You’re right about the movie being way too long”).
When referring to someone’s moral or legal entitlement to be able to do something, the correct phrase is “your right” (e.g., “It is your right to freely express yourself”).