From 5651251da7307265f3574034be1cc3b2ed3733b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Wed, 19 Feb 2025 14:12:05 +0100 Subject: [PATCH] =?UTF-8?q?:sparkles:=20V0.1=20Groupes=20d'acc=C3=A8s=20da?= =?UTF-8?q?ns=20le=20tableau?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/files/index.html.twig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/templates/files/index.html.twig b/templates/files/index.html.twig index f6fb0c5..72290a5 100755 --- a/templates/files/index.html.twig +++ b/templates/files/index.html.twig @@ -37,6 +37,9 @@ Modifié le + + Groupes d'accès + Actions @@ -61,6 +64,22 @@ {{ file.last_modified|time_diff }} + +
+ {% if parentDir == null %} + {% set parentDirectory = get_parent_dir(file.path) %} + {% else %} + {% set parentDirectory = parentDir %} + {% endif %} + {% for parentRole in parentDirectory.ownerRole.getHigherRoles() %} + + {% endfor %} + + {% for permission in parentDirectory.parentDirectoryPermissions %} + + {% endfor %} +
+ {% if file.type == 'file' %}