Some legal experts and civil liberties groups have for years criticized the August 2002 memorandum written for the C.I.A. as overly expansive in the authority it gave the agency to interrogate detainees .