{
// Local file: => must be admin to continue
if (harvestSecureMode) { // secure mode, must be admin
if (source.getUrl().startsWith("file:")) {
if (!AuthUtils.isAdmin(source.getOwnerId())) {
throw new ExtractorSourceLevelMajorException("Permission denied");
}
}
}//TODO (INF-2119): come up with something better than this...(this is at least consistent with SAH/UAH security, apart from allowing admin more rights)
file = InfiniteFile.create(source.getUrl());
}