I did a little research. Here's what I found.
First, under section 12050 of the penal code, a
sheriff, or municipal police chief can issue a CCW.
Under subsection (b), "A license may include any
reasonable restrictions or conditions which the
issuing authority deems warranted, including
restrictions as to the time, place, manner, and
circumstances under which the person may carry a
pistol, revolver, or other firearm capable of being
concealed upon the person."
With that in mind, and understanding that many CCW's
are issued with restrictions prohibiting the carrying
of a firearm on school grounds, here is what the gun
on campus law says.
Section 626.9 PC, subsection (l), it states: "This
section does not apply to a duly appointed peace
officer as defined in Chapter 4.5 (commencing with
section 830) of Title 3 of Part 2, a full-time paid
peace officer of another state or the federal
government who is carrying out official duties while
in California, any person summoned by any of these
officers to assist in making arrests or preserving the
peace while he or she is actually engaged in asisting
the officer, a member of the military forces of this
state or of the United States who is engaged in the
performance of his or her duties, a person holding a
valid license to carry the firearm pursuant to Article
3 (commencing with Section 12050) of Chapter 1 of
Title 2 of Part 4, or an armored vehicle guard,
engaged in the performance of his or her duties, as
defined in subdivision (e) of Section 7521 of the
Business and Professions Code."
Section 12050 PC is the CCW section in the penal code
which authorizes the issuance of a CCW. If the person
is not restricted by the issuing authority, the law
does allow for a CCW permited person to carry on a
school or college ground.
One small disclaimer; I'm not sure what the "...of
Chapter 1 of Title 2 of Part 4..." is referencing, but
I assume that it applies to what I copied above (the
12050 section reference).
Hope this helps.