refs #4679 splitted this method into 3 methods and extracted them into a model so we do not have to check for permission when archiving