In any proceeding ancillary to or in any civil action instituted by the state under this chapter, the proceedings may be open or closed to the public at the discretion of the court after consideration of the rights of affected persons.
R.I. Gen. Laws § 7-15-5