The Confederate Constitution also prohibited laws that interfered with someone’s “right” to own slaves and prohibited its states from interfering in the ownership of slaves or restricting slavery.
So did the US Constitution, but the Northern states just ignored it. It's Article IV, section II, if you want to look it up.