; or (IV) an owner of fee land within the boundaries of the Reservation; and (ii) the appeal and adjudication of administrative decisions under clause (i) and any denied or disputed distribution of water; and (D) include a requirement that— (i) any allottee asserting a claim relating to the enforcement of rights of the allottee under the Tribal water code, including to the quantity of water allocated to land of the allottee, shall exhaust all remedies available to the allottee under Tribal law before initiating an action against the United States or petitioning the Secretary pursuant to subsection (d)(4); and (ii) any other Tribal water user asserting a claim relating to the enforcement of rights under the Tribal water code shall exhaust all remedies available under Tribal law. (3) Action by Secretary (A) In general During the period beginning on the date of enactment of this Act and ending on the date on which a Tribal water code described in paragraphs (1) and (2) is enacted, the Secretary shall administer the Tribal water rights, including with respect to the rights of allottees, in accordance with this Act. (B) Approval The Tribal water code described in paragraphs (1) and (2) shall not be valid unless— (i) the provisions of the Tribal water code required by paragraph (2) are approved by the Secretary; and (ii) each amendment to the Tribal water code that affects a right of an allottee is approved by the Secretary. (C) Approval period (i) In general The Secretary shall— (I) approve or disapprove the Tribal water code or an amendment to the Tribal water code by not later than 180 days after the date on which the Tribal water code or amendment to the Tribal water code is submitted to the Secretary