feat: rename ROLE_ADMIN to ROLE_TEAM_ADMIN since being too broad

This commit is contained in:
2026-09-16 17:20:45 +02:00
parent 39a343911a
commit d4908b6ab9
75 changed files with 212 additions and 180 deletions
@@ -9,7 +9,7 @@
<div class="pb-8">
{% include '_partials/_assignment_info_compact.html.twig' %}
</div>
{% if is_granted('ROLE_ADMIN') %}
{% if is_granted('ROLE_TEAM_ADMIN') %}
<div class="col-span-2">
<h2 class="font-bold text-lg pb-4">
Bewerbungen
@@ -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>