Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security] Allow switching to another user when already switched#35839
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
07d4598 toee219efComparesrc/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
noniagriconomie left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
thx
src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Exception/AlreadySwitchedException.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
91d8855 to14199ddCompare
wouterj left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Great, thanks!
nicolas-grekas commentedFeb 24, 2020
What would be the drawback of always allowing the switch? Adding a new option should be thought twice. |
ogizanagi commentedFeb 24, 2020
We've discussed a bit about this with@chalasr. It's not easy to provide a satisfying default out-of-the-box |
1564985 toa17cdc3Compare
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Would work as a bug fix on 4.4 to me.
Uh oh!
There was an error while loading.Please reload this page.
chalasr commentedFeb 25, 2020
@nicolas-grekas Did you mean 3.4? |
nicolas-grekas commentedFeb 25, 2020
3.4 then yes :) |
89effcf to5b5848cCompare5b5848c to0353077Comparechalasr commentedFeb 26, 2020
Rebased. Failing build expected with deps=high |
nicolas-grekas commentedFeb 26, 2020
Thank you@chalasr. |
noniagriconomie commentedFeb 26, 2020
Thanks for merging it into 3.4 |
Uh oh!
There was an error while loading.Please reload this page.