1
0
forked from ScoDoc/ScoDoc

re-autorise API evaluation_listenotes en mode ScoDoc7

This commit is contained in:
Emmanuel Viennet 2021-11-09 22:12:11 +01:00
parent a4e4c39797
commit 0573b259d9

View File

@ -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"""