From 69af0b9778287c160e82be6f1d98f4c232a48641 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 28 Jun 2024 08:43:27 +0200 Subject: [PATCH] =?UTF-8?q?Cache=20lien=20'effacer=20des=20d=C3=A9cisions?= =?UTF-8?q?=20de=20jury'=20quand=20on=20a=20pas=20le=20droit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/notes.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/notes.py b/app/views/notes.py index b3a8a9b3..ba1d2a14 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -2334,7 +2334,7 @@ def formsemestre_validation_but( etud = Identite.get_etud(etudid) nb_etuds = formsemestre.etuds.count() read_only = not formsemestre.can_edit_jury() - + can_erase = current_user.has_permission(Permission.EtudInscrit) # --- Navigation prev_lnk = ( f"""{scu.EMO_PREV_ARROW} effacer des décisions de jury