Can a 17 year old with a motorcycle license ride with a passenger and a 500+cc bike? (In California)?

I've been hearing that anyone under 18 can't ride over 500cc or have passengers in California. I know the permit restricts passengers but it doesn't say anything about motorcycle size. I also can't find any information online or in the handbook about restrictions simply because of age. Any help?
4 answers 4