So a person has no rights. A "right" is only a restriction on the government, and not tied to a person.
- that's not what I said. A right is everything that you can do without government abusing you. USA founders said exactly that, some where more insistent than others that the Constitution is the exact literal enumeration of powers allocated to the government, the powers that allow government to step over the rights of an individual under specific conditions. Government is violence by definition, that is all it is and for the governed to accept the government they have to see good reason for it and the way the USA Founders saw it, government had to have very specific powers given to it to deal with cases where people would be denied their rights.
A person in jail is a person, whose right to freedom is denied by government oppression, that oppression has to be enumerated as one of the powers allocated to the government. Government has to prove that it can oppress the right of that individual to freedom.
A person murdered by another person or a person hurt somehow by a company (which is really just another person or a group of people) is an individual situation, where criminal code may apply in order to establish guilt or innocence and to hand out oppression of rights again to those, who basically broke the criminal code rules.
So you can see that rights are related to individual or business and government, while criminal code is related to dealing between individuals or companies.
Government officials can break the law as well of-course, then it also has to be punished according to the criminal code, but government as a system cannot be punished by any criminal code, there is nobody personally to punish, so because government is a system it has to adhere to rules defined in the Constitution, rules as to how the government can oppress/abuse individuals, who have all the rights until the government can use its authority to deny that right.