Every department has policies and procedures in place for handling gang informants, so first thing, go check your department's manual. Then go find a Narcotics or Vice officer who has actually had to work under your department's procedures to find out in the real world how it works.
Many of these policies seem to me to have been written by people who never worked informants. They are very clinical, unreasonably restrictive, and often mimic the informant procedures of the Federal Bureau of Investigation. This is laughable because the FBI has a less than stellar history in gang informant management. This is why their procedures are so restrictive.
One of the incidents I remember in Los Angeles involved a "cooperative witness" who was brought by the FBI from the East Coast to testify against some of his good fellow organized crime gang members. The witness (informant) was being housed between court appearances at a local motel. The agents became fairly friendly with the former wise guy and allowed him to invite a lady friend over for a private party. The agents took turns in an adjacent motel room watching the witness' room. Suddenly, the agents' room began to pitch and sway violently in one of Los Angeles' larger earthquakes. The electric power and telephone systems went down, and the agents rushed home to check on the welfare of their own families. By the time the agents returned, the local police had responded to a drunken domestic disturbance call at the informant's motel room and arrested him for the battery of his girlfriend.
The Informant
He is a "Rat," "Snitch," or "Snizzle" in the gang world. A "Friendly," "Protected Witness," "Confidential Witness" (CW), "Confidential Informant" (CI), "Source," or "Undercover" (UC) to law enforcement. Some agencies consider any jail house informant as unreliable, some dislike paid informants, and many treat any informant with disdain. Yet the success of any gang unit can be attributed largely to its ability to develop and maintain numerous credible informants.