Explorar o código

Merge pull request #2092 from jglete/patch-1

Update add_block.html.twig
Thomas %!s(int64=10) %!d(string=hai) anos
pai
achega
8393d6294a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 %}