It is allowed to wear shorts. Please note that it can get a little chilly in Dubai after sunset.