The four legal foundations of prisoners' rights

Identify and discuss the four legal foundations of prisoners’ rights. When specifically discussing the United States Constitution, what Amendments support these rights? Is pretrial detention considered a violation of these rights? Why or why not? Additionally, if an offender believes their rights have been violated, what actions might they take? When discussing these actions, please be sure to include the possible outcomes that may be a result.You must include at least 2 sources in addition to the Bible. Sources must be scholarly, reliable and relevant to the topic, and current to within the last 7 years. Abstract needed. Body of paper must be 3 pages.