Cross-posting is not allowed and is frowned upon. However, cross-posting only refers to posts by the same author. If you ask here and somebody else asks on SO, that's not cross-posting. In the example you cite, the OP here was not the same person who'd asked on SO so it's not a cross-post.
Personally, I feel that the SE community is a bit too obsessed with cross-posts and that it's a mentality left over from the days of the trilogy (SO,SF and SU) whose scopes were much clearer and with less overlap. Today we have sites like AU, U&L etc. whose scopes are very similar and it would, in my opinion, be a good idea to have a mechanism to somehow link Qs from different sites or allow cross-posting or something but I seem to be in the minority.
In any case, at the moment, community consensus is clearly against cross-posts so no, they're not allowed.