Authored by Assemblymember Juan Alanis, R-Modesto, AB 2004 would grant correctional officers — specifically in Fresno and San Joaquin counties — the same rights as deputy sheriffs. Alanis said 40 other counties recognize correctional officers as peace officers.