In accordance to multiple UN resolutions and international law, as well as simple ethics, occupied people have a right to armed resistance. Occupiers and apartheid states do not.
One has to remember that in 1948, the UN was basically nothing but the League of Nations and some puppet states, which had to be bribed and threatened for the motion to pass.