From df85fcf2a94ec50f224819b0a779fa08c1142b8f Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Thu, 22 May 2014 18:49:23 +0200 Subject: [PATCH] Fix PHRAS-125 User right issue --- templates/web/admin/tree.html.twig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/web/admin/tree.html.twig b/templates/web/admin/tree.html.twig index da50ba8b2f..ed34aa18e4 100644 --- a/templates/web/admin/tree.html.twig +++ b/templates/web/admin/tree.html.twig @@ -187,16 +187,12 @@ {% endif %} {% if (app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'canadmin')) %} - {% if (app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'canmodifrecord') - and app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'manage') - and app['authentication'].getUser().ACL.has_right_on_sbas( sbas_id, 'bas_manage') ) %}
  • {% trans 'admin::utilisateurs: utilisateurs' %}
  • - {% endif %} {% endif %}