1. Any aggrieved person shall have standing to enforce the provisions of this article against a public body by the commencement of a proceeding pursuant to article seventy-eight of the civil practice law and rules, or an action for declaratory judgment and injunctive relief. In any such action or proceeding, if a court determines that a public body failed to comply with this article, the court shall have the power, in its discretion, upon good cause shown, to declare that the public body violated
1. Upon a majority vote of its total membership, taken in an open meeting pursuant to a motion identifying the general area or areas of the subject or subjects to be considered, a public body may conduct an executive session for the below enumerated purposes only, provided, however, that no action by formal vote shall be taken to appropriate public moneys: a. matters which will imperil the public safety if disclosed; b. any matter which may disclose the identity of a law enforcement agent or informer;