From 69cbfa3bb00aa1fddad2612b592ce32937a6b82e Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 21 Feb 2019 10:28:33 +0100 Subject: [PATCH] Limit import/export links to change student perm owners --- templates/admin/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/admin/index.html b/templates/admin/index.html index 10dac19..3211f85 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -87,6 +87,7 @@ document.addEventListener("DOMContentLoaded", function(event) { {% endif %} + {% if perms.stages.change_student %}

Importation/exportation

+ {% endif %} {% endblock %}