feat: superadmin attribute for extended permissions like impersonating
This commit is contained in:
@@ -94,6 +94,11 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center space-x-1 justify-end">
|
||||
{% if is_granted('CAN_IMPERSONATE', teamer.user) %}
|
||||
<a href="{{ path('app_teamer_index', { '_switch_user': teamer.user.email }) }}" title="Als Teamer:in maskieren">
|
||||
{{ icon('mask') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="{{ path('app_administrative_teamer_profile', { 'uuid': teamer.uuid }) }}" title="Teamer:innenprofil {{ teamer }}">
|
||||
{{ icon('user') }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user