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