Only allow submissions when assignment is open.