How to show bar Symfony Web Profiler only for certain users?
Actually the question in the title.
I want to show the panel only for the developers (role).
Is it possible to implement with standard tools without zapilivanija?
The option of connecting styles that hide the panel comes off.
asked October 3rd 19 at 04:10
via DI substitute the class Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener on their implemented it security for role checks, and make a wrapper for the method injectToolbar.
For developers a single point of entry — app_dev.php
Find more questions by tags Symfony