mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
433 B
433 B
date | id | title |
---|---|---|
2020-11-16 | 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.