The Alabama Medical Cannabis Commission was ordered Friday to stop issuing licenses to growers and distributors.