CIC
Canon 339
Book II. The People of God
Faithful and Church organization
Code of Canon Law
English§1. All the bishops and only the bishops who are members of the college of bishops have the right and duty to take part in an ecumenical council with a deliberative vote.
§2. Moreover, some others who are not bishops can be called to an ecumenical council by the supreme authority of the Church, to whom it belongs to determine their roles in the council.