Global constitution is fine as long as it's installed like amendments to US Constitution: overwhelming majority in each country. Unlikely to occur, especially when we go crossplanetary
It would likely be based on western constitutions to some degree, but probably a little less restrictive only to make the rest of the world agree.