feat: restrict admin role assignment to the privileged roles

This commit is contained in:
Björn Fromme
2026-08-12 17:47:21 +02:00
parent 7a82127494
commit 7ebd2dad1a
4 changed files with 40 additions and 15 deletions
@@ -9,6 +9,9 @@
<div class="pb-4 text-sm text-gray-500">
{{ user.email }}
</div>
<div class="pb-4 text-sm text-gray-500">
aus BusPro: {{ syncedRoles | map_roles | join(', ') | default('') }}
</div>
{{ form_start(form) }}
<div class="grid lg:grid-cols-2 gap-y-4 lg:gap-x-8">
{{ form_row(form.roles) }}