; (5) (A) in the case of a military technician (dual status), under regulations prescribed by the Secretary of Defense, a right of appeal of the final decision of the adjutant general of the jurisdiction concerned which may exist under paragraph (1), (2), or (3) shall be to an administrative panel when the appeal concerns activities that occur while the technician is performing technician duties or that relate to aspects of technician employment not covered by paragraph (4), and the decision of the administrative panel shall be binding upon the adjutant general of the jurisdiction concerned and may not be further appealed; or (B) in the case of a non-dual status technician, with respect to an appeal concerning any activity not covered by paragraph (4), the provisions of sections 7511, 7512, and 7513 of title 5 and section 717 of the Civil Rights Act of 1991 ( 42 U.S.C. 2000e–16 ) shall apply; (6) in the case of a military technician (dual status), with respect to an appeal of any final decision by the adjutant general of the jurisdiction concerned alleging discrimination based upon race, color, religion, sex, or national origin (including an appeal of an action under paragraph (1), (2), or (3) that alleges such discrimination) in the non-military aspects of technician employment (but not in activities that occur while the military technician is in a military pay or duty status or that concern military duty standards), the provisions of section 717 of the Civil Rights Act of 1991 shall apply; (7) a technician shall be notified in writing of the termination of employment as a technician and, unless the technician is serving under a temporary appointment, is serving in a trial or probationary period, or has voluntarily ceased to be a member of the National Guard when such membership is a condition of employment, such notification shall be given at least 30 days before the termination date of such employment