in this case OSM maps area controlled by Morocco and area controlled by Western Sahara/Polisario Front (both are smaller than what they claim)
What is national sovereignty? - #8 by SomeoneElse lists some details specific to this case
https://osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf has some more general information