From 0573b259d98762f0c3c10017bd54ae1d26555076 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 9 Nov 2021 22:12:11 +0100 Subject: [PATCH] re-autorise API evaluation_listenotes en mode ScoDoc7 --- app/views/notes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/notes.py b/app/views/notes.py index e4162a07b..deea62bf1 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -1657,9 +1657,9 @@ def evaluation_create(moduleimpl_id): ) -@bp.route("/evaluation_listenotes") +@bp.route("/evaluation_listenotes", methods=["GET", "POST"]) # API ScoDoc 7 compat @scodoc -@permission_required(Permission.ScoView) +@permission_required_compat_scodoc7(Permission.ScoView) @scodoc7func def evaluation_listenotes(): """Affichage des notes d'une évaluation"""