Court rules to add to defense in union lawsuit blocking City of Buffalo disciplinary records