The Director of the Department of Correction shall have the authority of a county sheriff over the power of the county in which a Department of Correction's prison or inmate camp is situated in all cases of alarm or danger at the prison or inmate camp, in the absence of the county sheriff or the county sheriff's inability to act.