Efficient Random Assignment with Constrained Rankings