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' %}