Loading module/Application/src/Application/Entity/Db/These.php +2 −2 Original line number Diff line number Diff line Loading @@ -61,8 +61,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultatives", ]; const CORRECTION_OBLIGATOIRE_INTERVAL = 'P2M'; const CORRECTION_FACULTATIVE_INTERVAL = 'P3M'; const CORRECTION_OBLIGATOIRE_INTERVAL = 'P3M'; const CORRECTION_FACULTATIVE_INTERVAL = 'P2M'; const CORRECTION_AUTORISEE_FORCAGE_NON = null; // pas de forçage const CORRECTION_AUTORISEE_FORCAGE_AUCUNE = 'aucune'; // aucune correction autorisée Loading module/Application/src/Application/Service/These/TheseRechercheService.php +9 −9 Original line number Diff line number Diff line Loading @@ -508,15 +508,15 @@ class TheseRechercheService private function fetchEtablissementsOptions() { $role = $this->getSelectedIdentityRole(); $privilege = StructurePrivileges::STRUCTURE_CONSULTATION_TOUTES_STRUCTURES; $toutesStructuresAllowed = $this->authorizeService->isAllowed(StructurePrivileges::getResourceId($privilege)); if ($role && !$toutesStructuresAllowed) { return [ $this->optionify($role->getStructure()->getEtablissement()) ]; } // $role = $this->getSelectedIdentityRole(); // // $privilege = StructurePrivileges::STRUCTURE_CONSULTATION_TOUTES_STRUCTURES; // $toutesStructuresAllowed = $this->authorizeService->isAllowed(StructurePrivileges::getResourceId($privilege)); // if ($role && !$toutesStructuresAllowed) { // return [ // $this->optionify($role->getStructure()->getEtablissement()) // ]; // } $etablissements = $this->getEtablissementService()->getRepository()->findAllEtablissementsMembres(); Loading Loading
module/Application/src/Application/Entity/Db/These.php +2 −2 Original line number Diff line number Diff line Loading @@ -61,8 +61,8 @@ class These implements HistoriqueAwareInterface, ResourceInterface self::CORRECTION_AUTORISEE_FACULTATIVE => "Facultatives", ]; const CORRECTION_OBLIGATOIRE_INTERVAL = 'P2M'; const CORRECTION_FACULTATIVE_INTERVAL = 'P3M'; const CORRECTION_OBLIGATOIRE_INTERVAL = 'P3M'; const CORRECTION_FACULTATIVE_INTERVAL = 'P2M'; const CORRECTION_AUTORISEE_FORCAGE_NON = null; // pas de forçage const CORRECTION_AUTORISEE_FORCAGE_AUCUNE = 'aucune'; // aucune correction autorisée Loading
module/Application/src/Application/Service/These/TheseRechercheService.php +9 −9 Original line number Diff line number Diff line Loading @@ -508,15 +508,15 @@ class TheseRechercheService private function fetchEtablissementsOptions() { $role = $this->getSelectedIdentityRole(); $privilege = StructurePrivileges::STRUCTURE_CONSULTATION_TOUTES_STRUCTURES; $toutesStructuresAllowed = $this->authorizeService->isAllowed(StructurePrivileges::getResourceId($privilege)); if ($role && !$toutesStructuresAllowed) { return [ $this->optionify($role->getStructure()->getEtablissement()) ]; } // $role = $this->getSelectedIdentityRole(); // // $privilege = StructurePrivileges::STRUCTURE_CONSULTATION_TOUTES_STRUCTURES; // $toutesStructuresAllowed = $this->authorizeService->isAllowed(StructurePrivileges::getResourceId($privilege)); // if ($role && !$toutesStructuresAllowed) { // return [ // $this->optionify($role->getStructure()->getEtablissement()) // ]; // } $etablissements = $this->getEtablissementService()->getRepository()->findAllEtablissementsMembres(); Loading