Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[SecurityBundle] Hide security toolbar if no firewall matched#41874
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
derrabus commentedJun 27, 2021
I think that this change is a good idea. I'm unsure about merging it as a bugfix, though. |
fabpot commentedJun 27, 2021
I agree with@derrabus, this should target 5.4 instead (I would have been ok-ish if this was a "behavior" that changed in 5.3, but here, the behavior has been consistent since a long time). |
chalasr commentedJun 27, 2021
rebase needed |
fabpot commentedJul 2, 2021
Thank you@wouterj. |
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twigShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
As reported by@pavol-tk, we currently show a red Security block in the toolbar if no firewall matched. I think we should instead leave the block out of the toolbar, just like we do with all other elements if there is no data for that request.
cc@javiereguiluz as you're the best in these UX like decisions :)