No one does. Nothing.
Rights are created and assigned by people. And regardless, they're irrelevant. People are going to do what they're going to do.
The closest you can get to God giving rights is the first Messiah, Cyrus. Not that the contents of the Cyrus cylinder are in the Bible, but he did it, and that's the closest you'll ever to God doing it.