Skip to content

Add new Twig bridge function to generate impersonation path #18966

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

Merged

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Oct 2, 2023

Fix

Fix

However, I think we should wait for this PR to be merged (or not), because it seems the current implementation has a problem:

This doc PR takes into account my fix PR above. Merged 👍

@carsonbot carsonbot added this to the 6.4 milestone Oct 2, 2023
@carsonbot carsonbot changed the title [TwigBridge] Add new Twig bridge function to generate impersonation path Add new Twig bridge function to generate impersonation path Oct 2, 2023
@alexandre-daubois alexandre-daubois force-pushed the twig-bridge-impersonation branch from 49a311c to 4f9bfaa Compare October 2, 2023 11:44
@alexandre-daubois alexandre-daubois force-pushed the twig-bridge-impersonation branch from 4f9bfaa to 061bc3f Compare October 2, 2023 11:44
@javiereguiluz
Copy link
Member

Alex, thanks for this contribution and for fixing the code of this feature too

@javiereguiluz javiereguiluz merged commit 3d3bf88 into symfony:6.4 Oct 4, 2023
@alexandre-daubois alexandre-daubois deleted the twig-bridge-impersonation branch October 4, 2023 08:45
OskarStark added a commit that referenced this pull request Oct 30, 2023
This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

Document twig functions on impersonation

i am updating one of my app to 6.4 and also reading some https://symfony.com/blog/category/living-on-the-edge/7.0-6.4
found this was not yet documented
from https://symfony.com/blog/new-in-symfony-6-4-impersonation-utilities

edit: following code PR comment on Symfony-docs repo, found #18966
to me this is uselefull here as well as more "usage dev doc" instead of "TOC doc", wdyt?

FYO when googling "symfony user switch" the first link is the page I am proposing to edit

thx

Commits
-------

5c04c6b Document twig functions on impersonation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants