LOS ANGELES (AP) — A judge has ruled that some workers at the five largest University of California medical centers can go on strike for two days starting Tuesday.

Sacramento County Superior Court Judge David Brown denied the system’s request Monday for a complete injunction against a strike by the union which represents 13,000 nursing assistants, scanning technicians, operating room assistants, pharmacists and other health care workers.

READ MORE: Terrence Clark Announced As NBA Draft Pick After Fatal Crash In Northridge

UC spokeswoman Dianne Klein says Brown partially granted the system’s request for an injunction, ensuring 453 workers remain on the job so public safety isn’t compromised.

READ MORE: Mass Vaccination Site At Long Beach Convention Center Closing Amid Spike In New Cases

The hospitals are in San Diego, Irvine, Los Angeles, San Francisco and Sacramento, where UC Davis Medical Center is located.

MORE NEWS: Protesters Vandalize Mayor Eric Garcetti's Home After He Signs Ordinance To Restrict Homeless Encampments

The two sides are fighting over pensions and staffing levels. The union says staffing has been reduced to dangerous levels.

(© Copyright 2013 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)