BALTIMORE — Baltimore police have released a department policy that spells out the public’s right to record officers carrying out their duties, just days before a hearing on a suit over the issue.

The general order was made public Friday, three days before a hearing on a motion to dismiss a federal suit that alleges that a city officer violated a man’s constitutional rights by deleting his video of a confrontation between officers and his friend at the 2010 Preakness Stakes.

A judge will hear arguments Monday on the motion in the suit brought by the American Civil Liberties Union of Maryland.

The ACLU had been seeking a copy of the order for some time. The department says it wanted to wait until the process of informing and training officers was complete.

Read more: The Post’s crime coverage