The laws which restrict the rights of black are known as the black codes which were passed because white southerners were not willing to accept black people as equal to them.
The law black code has been aimed to restrict the rights of black people regarding their freedom, right to choose their property and to stop them to move freely in any place. These slaves even can not file a case in court.
The purpose of this law is to maintain the supply of cheap labor by restricting the freedom of slave people and to achieve control over them once again. This law emphasizes white people as the supreme authority and encourages segregation of groups.
Learn more about black code, here:
https://brainly.com/question/14839167
#SPJ1