Family Code § 7884
ARTICLE 6. Notice of Proceeding and Attendance at Hearing
(a) Unless requested by the child concerning whom the petition has been filed and any parent or guardian present, the public shall not be admitted to a proceeding under this part.
(b) Notwithstanding subdivision (a), the judge may admit those persons the judge determines have a direct and legitimate interest in the particular case or in the work of the court.