It's not yet certain exactly what role famed director F. Gary Gray will play in the production/filming of the upcoming N.W.A. biopic film titled, Straight Outta Compton, however, he is definitely attached to the project in some way.  

Gray is well known for his directorial skills, having directed films such as Friday, and The Negotiator, and music videos such as former N.W.A. member, Ice Cube's "It Was A Good Day.

Source: hiphopblog.com