diff --git a/module/Application/src/Application/Provider/Privilege/FichierPrivileges.php b/module/Application/src/Application/Provider/Privilege/FichierPrivileges.php index 76d6d60eda17a6d7ecda9c52b9e98c5bb88f6771..0bd9e0a31828621a2cf6a41debf5785f7c0fca14 100644 --- a/module/Application/src/Application/Provider/Privilege/FichierPrivileges.php +++ b/module/Application/src/Application/Provider/Privilege/FichierPrivileges.php @@ -91,11 +91,7 @@ class FichierPrivileges extends Privileges case NatureFichier::CODE_THESE_PDF: case NatureFichier::CODE_FICHIER_NON_PDF: - // - return $versionFichier !== null && $versionFichier->estVersionCorrigee() ? - ThesePrivileges::THESE_DEPOT_VERSION_CORRIGEE : - ThesePrivileges::THESE_DEPOT_VERSION_INITIALE; - + return ThesePrivileges::THESE_TELECHARGEMENT_FICHIER; case NatureFichier::CODE_DIVERS: // return self::FICHIER_DIVERS_TELECHARGER;