mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
416 B
416 B
id | title |
---|---|
bc9f093c-3ae9-44ca-bf33-b8c262bd1f55 | ROLE~PREVIOUSADMIN~ |
Description
Shows that currently logged in user is impersonating another user
Syntax
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a href="...">Exit impersonation</a>
{% endif %}
Deprecation
Deprecated in Symfony 5.1, replaced with
ISIMPERSONATOR.