A World Parliamentary Assembly functioning outside the United Nations, or a United Nations Parliamentary Assembly set up as a subsidiary body of the General Assembly pursuant to article 22 of the UN Charter, could start initially as a consultative body and gradually develop into a legislative assembly.
Time for a World Parliamentary Assembly
Time for a World Parliamentary Assembly[ohchr.org]