A craft ale house’s plans to convert the vacant upper floors of a historic York building into a bar have been approved.