Skip to content

Add note how to get previous on impersonation #4179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Koc opened this issue Aug 26, 2014 · 3 comments
Closed

Add note how to get previous on impersonation #4179

Koc opened this issue Aug 26, 2014 · 3 comments
Labels
actionable Clear and specific issues ready for anyone to take them. good first issue Ideal for your first contribution! (some Symfony experience may be required) hasPR A Pull Request has already been submitted for this issue. Security

Comments

@weaverryan weaverryan added actionable Clear and specific issues ready for anyone to take them. good first issue Ideal for your first contribution! (some Symfony experience may be required) labels Sep 15, 2014
@weaverryan
Copy link
Member

Nice idea - a quick note that switched users have a special ROLE_PREVIOUS_ADMIN role would be great.

@Sander-Toonen
Copy link

There already is a note about the existence of the ROLE_PREVIOUS_ADMIN role. I think @Koc means adding a note about getting the user object of the impersonator.

@Koc
Copy link
Contributor Author

Koc commented Sep 24, 2014

Right

@wouterj wouterj added the hasPR A Pull Request has already been submitted for this issue. label Feb 19, 2015
weaverryan added a commit that referenced this issue Mar 14, 2015
…r object (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Added an example about how to get the impersonating user object

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.3+
| Fixed tickets | #4179

Commits
-------

e7c9605 Adding a break statement to improve the sample code
f64b5b5 Added an example about how to get the impersonating user object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. good first issue Ideal for your first contribution! (some Symfony experience may be required) hasPR A Pull Request has already been submitted for this issue. Security
Projects
None yet
Development

No branches or pull requests

4 participants