Commit ebaf1570 authored by Thomas Hamel's avatar Thomas Hamel
Browse files

[FIX] Module Soutenance : dépôt impossible des documents liés à la soutenance

parent 52b534e1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ Journal des modifications
10.0.2
-----
- [FIX] Vue v_extract_theses erronée (ERREUR : la colonne code_sise_disc n'existe pas).
- [FIX] Module Soutenance : dépôt impossible des documents liés à la soutenance

10.0.1
-----
+2 −2
Original line number Diff line number Diff line
@@ -10,15 +10,15 @@

use Depot\Controller\Plugin\UrlFichierHDR;
use Depot\Controller\Plugin\UrlFichierThese;
use Depot\Provider\Privilege\DepotPrivileges;
use Soutenance\Entity\Etat;
use Soutenance\Entity\Proposition;
use Soutenance\Provider\Privilege\PropositionPrivileges;
use Soutenance\Service\Horodatage\HorodatageService;
use These\Entity\Db\These;

$object = $proposition->getObject();
$apprenant = $object instanceof These ? "doctorant" : "candidat";
$canGererDocument = $this->isAllowed($object, PropositionPrivileges::PROPOSITION_MODIFIER_GESTION);
$canGererDocument = $this->isAllowed($object, DepotPrivileges::THESE_FICHIER_DIVERS_TELEVERSER);
?>

<div class="box card">