The move this month came after a years-long lobbying campaign to rein in the booming CBD and THC edibles business.