Proceeding in mandamus. The issue is presented by the petition, answer thereto and demurrer to the answer. Petitioner is a public corporation and respondents are the statutory successors of the commission created by the Water Commission Act (Stats. 1913, p. 1012, as amended; Deering’s Gen. Laws, 1931, vol. 3, p. 4998, Act 9091; Pol. Code, secs. 348-359b, 363-363gg).
Acting upon information which would justify the preferment of irrigation and domestic uses over power use of the unappropriated waters of the Mokelumne River, respondents inserted in the permit issued to petitioner for the utilization of such waters, the following condition: “The right to store and use water for power purposes under this permit shall not interfere with future appropriations of said water for agricultural or municipal purposes.” Respondents assert that under sections 15 and 20 of said act as amended, this discretionary administrative power was conferred upon them.
Section 15, as amended in 1921 (Stats. 1921, p. 443), reads as follows: “The state water commission shall allow, *478 under the provisions of this act, the appropriation for beneficial purposes of unappropriated water under such terms and conditions as in the judgment of the commission will best develop, conserve and utilize in the public interest the ■water sought to be appropriated. It is hereby declared to be the established policy of this state that the use of water for domestic purposes is the highest use of water and that the next highest use is for irrigation. In acting upon applications to appropriate water the commission shall be guided by the above declaration of policy. The commission shall reject an application when in its judgment the proposed appropriation would not best conserve the public interest. ’ ’
Petitioner insists that to insert the above-quoted provision in the permit was to exercise a judicial function, which could not be done by said state agency under the decisions of this court.
(Tulare Water Co.
v.
State Water Com.,
Said amended section 15 has not as yet been interpreted by this court, although its present rendering was in existence when the case of Tulare Water Co. v. State Water Com., supra, was decided. There the court quoted the original section but did not consider it as amended. It should also be noted that early in the history of our jurisprudence it was recognized that the legislative department of the government should be allowed to delegate to bureaus and commissions the exercise of a certain amount of discretion respecting matters which required findings of fact and the deducing of conclusions therefrom, in much the same manner as judicial processes are employed by the courts.
This situation was well described in the case of
Gaylord
v.
City of Pasadena,
This principle has been applied to various statutes as will be disclosed by the following, among other cases:
Ex parte Whitley,
But the above observations only partially determine the question here presented. “The fact that a public agent exercises judgment and discretion in the performance of his duties does not make his action or powers judicial in their character.”
(Quinchard
v.
Board of Trustees,
The opinion of Mr. Justice Field in the
Sinking-Fund Cases,
This definition was approved by this court in the case of
People
v.
Oakland Board of Education,
To the same effect see
Wulzen
v.
Board of Supervisors,
Under the statute before us, unless and until the statutory requirements and conditions are met, the appli *481 cant obtains no property right or any other right against the state. If the statutory prerequisites are not present, the application may be rejected in its entirety or, as here done, a permit may be issued with qualifications as to use of the water, and under neither hypothesis would it be the exercise of judicial authority. Of course, it must always be kept in mind that the state authority cannot arbitrarily, and upon caprice only, reject an application. Clearly, the manner in which the unappropriated waters of the streams of the state shall be distributed among the applicants therefor involves questions of policy, and the legislature, in the interest of the public welfare, may prescribe reasonable conditions and priorities in such distribution. This is true even though the filing of an application would, under certain conditions, be a sufficient foundation for a justiciable issue as against some other claimant. Where the facts justify the action, the water authority should be allowed to impose, in the public interest, the restrictions and conditions provided for in the act.
The cases of Tulare Water Co. v. State Water Com., supra, and Mojave Irr. Dist. v. Superior Court, supra, are not at all at variance with this conclusion. The point emphasized in those cases is that the issuance of such permits is not the exercise of a judicial function and, therefore, is not reviewable by a court proceeding, either general or under special act of the legislature.
The case of Yuba River etc. Co. v. Nevada Irr. Dist., supra, holds no more than this: That an applicant who has complied with the statute has sufficient legal status, although no permit may have yet issued, to authorize him to institute a court action to determine conflicting claims between himself and other claimants to the water subject to appropriation. But this holding is far from being an adjudication of the question before us. As already noted, when an applicant files his application and all the prerequisite facts set forth in the statute are present, the state agency may not arbitrarily refuse the granting of the permit but may be compelled by mandamus to issue it; but unless all the conditions are present, the water authority may grant a qualified permit consonant with such conditions, or may, if justified, reject the application altogether.
*482
These views make it unnecessary to consider the effect upon petitioner’s application of the Statutes of 1927, chapter 286, which authorize the department of finance to make filings on unappropriated waters on behalf of the state for use in carrying out its plans and purposes to conserve the water resources of the state. Likewise, it is unnecessary to consider whether the relation to the state of all unappropriated waters has been changed by section 3, article XIV, of the Constitution, interpreted along with section 11 of the Water Commission Act, as construed in the case of
Gin S. Chow
v.
City of Santa Barbara,
It follows from the above that the petition must be dismissed, and it is so ordered. The petition of intervener is disallowed.
•Curtis, J., Waste, C. J., Shenk, J., Thompson, J., and Seawell, J., concurred.
Rehearing denied.
