Skip to content

Commit ed685a9

Browse files
javiereguiluzOskarStark
authored andcommitted
[Security] Minor tweak in the impersonation explanation
1 parent ebcfdfe commit ed685a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security/impersonating_user.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ role to the users that need it.
8585
Knowing When Impersonation Is Active
8686
------------------------------------
8787

88-
During impersonation, the user is provided with a special role called
89-
``ROLE_PREVIOUS_ADMIN``. In a template, for instance, this role can be used
90-
to show a link to exit impersonation:
88+
When a user is being impersonated, Symfony grants them a special role called
89+
``ROLE_PREVIOUS_ADMIN`` (in addition to the roles the user may have). Use this
90+
special role, for instance, to show a link to exit impersonation in a template:
9191

9292
.. code-block:: html+twig
9393

0 commit comments

Comments
 (0)