Browse Source

Merge pull request #2092 from jglete/patch-1

Update add_block.html.twig
Thomas 10 years ago
parent
commit
8393d6294a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/Core/add_block.html.twig

+ 1 - 1
Resources/views/Core/add_block.html.twig

@@ -7,7 +7,7 @@
         {% if columnsCount > 1 %}style="width: {{ columnsCount*140 }}px;"{% endif %}
             >
         {% for group in admin_pool.dashboardgroups %}
-            {% set display = (group.roles is empty or is_granted('ROLE_SUPER_ADMIN') ) %}
+            {% set display = (group.roles is empty or is_granted('ROLE_SONATA_ADMIN') ) %}
             {% for role in group.roles if not display %}
                 {% set display = is_granted(role) %}
             {% endfor %}