ROLE_PREVIOUS_ADMIN

Description

Shows that currently logged in user is impersonating another user

Syntax

{% if is_granted(‘ROLE_PREVIOUS_ADMIN’) %} Exit impersonation
{% endif %}

Deprecation

Deprecated in [Symfony 5.1](Symfony 5.1), replaced with IS_IMPERSONATOR.