SACRAMENTO (CBS13) — A group of homeless people is suing the city of Sacramento in federal court over a porta-potty.

According to the federal lawsuit, police officers removed a porta-potty that had been placed near a homeless camp north of Downtown. The suit claims the move endangered public health and deprived homeless people of their dignity and right to privacy.

READ MORE: Yuba County Water Agency Could Ship Billions Of Gallons Of Water To Bay Area Amid Drought

The lawsuit seeks class-action status for 30 people living at the site.

READ ALSO: Privately-Financed Porta-Potties Pitched To Combat E. Coli In American River

READ MORE: Rio Linda Sandwich Shop Owner Recovering From Stabbing

On Tuesday, city leaders voted to install a Portland Loo in Cesar Chavez Park, across from City Hall. The Sacramento City Council approved a plan to install a standalone public restroom, giving homeless people an alternative to going in the street.

Business owners in that area have been asking for it.

MORE NEWS: Sacramento Animal Care Services Pushes For More Help For Homeless Pets

The new lavatory will cost around $300,000 and could be operational by this fall.