It shall be unlawful for any person to construct or maintain any opening or stairway in any public street, sidewalk, or alley without first obtaining a permit from the city manager in the manner specified in this article. All such lawfully maintained openings shall be guarded by a suitable strong cover or railing approved by the city manager.