Resolution 242 gave them. 242 does not mention the establishment of an additional state in the region at all. Also, it does not mention at all concepts such as "Palestinians" or "Palestinian state" and such concepts, incidentally, were never brought forward at the time by either the Soviet Union or the Arab states.
Magnitude 4.2 quake strikes near Grand Coulee Dam in Washington (Reuters)
from the article: French FM: Dubai killing proves need for a Palestinian state