(a) Any person residing in the jurisdiction may sue for injunctive relief to enjoin violations or to compel compliance with the provisions of this title. The court may in its discretion require any plaintiff other than the commission to file a complaint with the commission prior to seeking injunctive relief. The court may award to a plaintiff or defendant who prevails his costs of litigation, including reasonable attorney's fees.
(b) Upon a preliminary showing in an action brought by a person residing in the jurisdiction that a violation of Article 1 (commencing with Section 87100), Article 4 (commencing with Section 87400), or Article 4.5 (commencing with Section 87450) of Chapter 7 of this title or of a disqualification provision of a Conflict of Interest Code has occurred, the court may restrain the execution of any official action in relation to which such a violation occurred, pending final adjudication. If it is ultimately determined that a violation has occurred and that the official action might not otherwise have been taken or approved, the court may set the official action aside as void. The official actions covered by this subsection include, but are not limited to orders, permits, resolutions and contracts, but do not include the enactment of any state legislation. In considering the granting of preliminary or permanent relief under this subsection, the court shall accord due weight to any injury that may be suffered by innocent persons relying on the official action.
(Amended by Stats. 1987, Ch. 628, Sec. 1.)