mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 04:56:23 +00:00
431 B
431 B
date | id | title |
---|---|---|
20201116 | 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.