Did Satan have the right to offer Jesus all the kingdoms of the world?

Yes, in the sense that Satan is the god of this world and the present world system is under his control.

Watch the Teaching: When Will the Wicked One Be Revealed?