feat: rename ROLE_ADMIN to ROLE_TEAM_ADMIN since being too broad
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<th>
|
||||
{{ knp_pagination_sortable(pagination, 'Busbegleitung', 'assignment.pickup') }}
|
||||
</th>
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
{% if is_granted('ROLE_TEAM_ADMIN') %}
|
||||
<th>
|
||||
Bewerbungen
|
||||
</th>
|
||||
@@ -131,7 +131,7 @@
|
||||
-
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
{% if is_granted('ROLE_TEAM_ADMIN') %}
|
||||
<td>
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': assignment.uuid, 'r': return_url() }) }}" class="flex items-center space-x-2">
|
||||
<span>{{ assignment.applications|length }}</span>
|
||||
|
||||
Reference in New Issue
Block a user