The right to petition a court for writ of mandate, or to bring or maintain any action or proceeding based on or related to any civil service law of this State or the administration thereof shall not be affected by the failure to apply for rehearing by filing written petition therefor with the board.