(a)
Except as provided in subdivision (b), any of the following persons that have not been paid in full may give a stop payment notice to the public entity or assert a claim against a payment bond:
(1)
A person that provides work for a public works contract, if the work is authorized by a direct contractor, subcontractor, architect, project manager, or other person having charge of all or part of the public works contract.
(2)
A laborer.
(3)
A person described in Section 4107.7 of the Public Contract Code.
(b)
A direct contractor may not give a stop payment notice or assert a claim against a payment bond under this title.