Verifying that the token exists prior to using is_granted to prevent the check in case there is no security context in the request.
Verifying that the token exists prior to using is_granted to prevent the check in case there is no security context in the request.

ellementA/SonataAdminBundle,Koc/SonataAdminBundle,Storke/SonataAdminBundle,amine2z/SonataAdminBundle,joshlopes/SonataAdminBundle,mikemeier/SonataAdminBundle,jakublech/SonataAdminBundle,tim96/SonataAdminBundle,fosvn/SonataAdminBundle,lightglitch/SonataAdminBundle,greg0ire/SonataAdminBundle,0mars/SonataAdminBundle,OskarStark/SonataAdminBundle,mohebifar/SonataAdminBundle,dankempster/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,OskarStark/SonataAdminBundle,mweimerskirch/SonataAdminBundle,nexylan/SonataAdminBundle,mikemeier/SonataAdminBundle,ossinkine/SonataAdminBundle,mgdigital/SonataAdminBundle,tskorupka/SonataAdminBundle,lutangar/SonataAdminBundle,tim96/SonataAdminBundle,rschumacher/SonataAdminBundle,morgangiraud/SonataAdminBundle,gRoussac/SonataAdminBundle,news-life-media/SonataAdminBundle,ksom/SonataAdminBundle,j-ledoux/SonataAdminBundle,ejkun/SonataAdminBundle,cmacetko/SonataAdminBundle,idchlife/SonataAdminBundle,OskarStark/SonataAdminBundle,jszmidt/SonataAdminBundle,FabienD/SonataAdminBundle,jakublech/SonataAdminBundle,ksom/SonataAdminBundle,morfin60/SonataAdminBundle,edouardkombo/SonataAdminBundle,core23/SonataAdminBundle,FabienD/SonataAdminBundle,morfin60/SonataAdminBundle,ju1ius/SonataAdminBundle,sonata-project/SonataAdminBundle,ARTACK/SonataAdminBundle,jordisala1991/SonataAdminBundle,idchlife/SonataAdminBundle,jszmidt/SonataAdminBundle,sonata-project/SonataAdminBundle,jlamur/SonataAdminBundle,goldbroker/SonataAdminBundle,rswork/SonataAdminBundle,morfin60/SonataAdminBundle,tim96/SonataAdminBundle,ejkun/SonataAdminBundle,ryanhughes/SonataAdminBundle,goldbroker/SonataAdminBundle,tskorupka/SonataAdminBundle,robhunt3r/SonataAdminBundle,jakublech/SonataAdminBundle,nexylan/SonataAdminBundle,mikemeier/SonataAdminBundle,0mars/SonataAdminBundle,tunne/SonataAdminBundle,Romashka/SonataAdminBundle,mgdigital/SonataAdminBundle,Denniskevin/SonataAdminBundle,osavchenko/SonataAdminBundle,ellementA/SonataAdminBundle,idchlife/SonataAdminBundle,joshlopes/SonataAdminBundle,binhle410/SonataAdminBundle,robhunt3r/SonataAdminBundle,gRoussac/SonataAdminBundle,arbislimen/SonataAdminBundle,news-life-media/SonataAdminBundle,rswork/SonataAdminBundle,rswork/SonataAdminBundle,vincenttouzet/SonataAdminBundle,qsomazzi/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,jszmidt/SonataAdminBundle,digitalkaoz/SonataAdminBundle,digitalkaoz/SonataAdminBundle,lightglitch/SonataAdminBundle,Th3Mouk/SonataAdminBundle,Romashka/SonataAdminBundle,Th3Mouk/SonataAdminBundle,j-ledoux/SonataAdminBundle,Armstrong1992/SonataAdminBundle,mweimerskirch/SonataAdminBundle,idchlife/SonataAdminBundle,Romashka/SonataAdminBundle,jordisala1991/SonataAdminBundle,qsomazzi/SonataAdminBundle,robhunt3r/SonataAdminBundle,mikemeier/SonataAdminBundle,tunne/SonataAdminBundle,lutangar/SonataAdminBundle,andythorne/SonataAdminBundle,OskarStark/SonataAdminBundle,gnorby88/SonataAdminBundle,ruscon/SonataAdminBundle,0mars/SonataAdminBundle,ksom/SonataAdminBundle,dmarkowicz/SonataAdminBundle,dmarkowicz/SonataAdminBundle,morgangiraud/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,cmacetko/SonataAdminBundle,jakublech/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,tskorupka/SonataAdminBundle,Armstrong1992/SonataAdminBundle,core23/SonataAdminBundle,goldbroker/SonataAdminBundle,vincenttouzet/SonataAdminBundle,amine2z/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,vincenttouzet/SonataAdminBundle,amine2z/SonataAdminBundle,peter-gribanov/SonataAdminBundle,ossinkine/SonataAdminBundle,joshlopes/SonataAdminBundle,rmzamora/SonataAdminBundle,mgdigital/SonataAdminBundle,morgangiraud/SonataAdminBundle,ellementA/SonataAdminBundle,rswork/SonataAdminBundle,qsomazzi/SonataAdminBundle,FabienD/SonataAdminBundle,core23/SonataAdminBundle,gnorby88/SonataAdminBundle,ju1ius/SonataAdminBundle,qsomazzi/SonataAdminBundle,nexylan/SonataAdminBundle,Koc/SonataAdminBundle,claudusd/SonataAdminBundle,peter-gribanov/SonataAdminBundle,mweimerskirch/SonataAdminBundle,ARTACK/SonataAdminBundle,fosvn/SonataAdminBundle,lutangar/SonataAdminBundle,arbislimen/SonataAdminBundle,goldbroker/SonataAdminBundle,robhunt3r/SonataAdminBundle,ossinkine/SonataAdminBundle,cmacetko/SonataAdminBundle,Koc/SonataAdminBundle,Storke/SonataAdminBundle,claudusd/SonataAdminBundle,vincenttouzet/SonataAdminBundle,Denniskevin/SonataAdminBundle,Romashka/SonataAdminBundle,lightglitch/SonataAdminBundle,arbislimen/SonataAdminBundle,morgangiraud/SonataAdminBundle,lightglitch/SonataAdminBundle,dankempster/SonataAdminBundle,mohebifar/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,osavchenko/SonataAdminBundle,binhle410/SonataAdminBundle,osavchenko/SonataAdminBundle,ju1ius/SonataAdminBundle,andythorne/SonataAdminBundle,Denniskevin/SonataAdminBundle,binhle410/SonataAdminBundle,Storke/SonataAdminBundle,greg0ire/SonataAdminBundle,Storke/SonataAdminBundle,Denniskevin/SonataAdminBundle,jlamur/SonataAdminBundle,andythorne/SonataAdminBundle,mohebifar/SonataAdminBundle,rschumacher/SonataAdminBundle,news-life-media/SonataAdminBundle,mohebifar/SonataAdminBundle,mweimerskirch/SonataAdminBundle,gRoussac/SonataAdminBundle,mgdigital/SonataAdminBundle,gRoussac/SonataAdminBundle,Th3Mouk/SonataAdminBundle,FabienD/SonataAdminBundle,rschumacher/SonataAdminBundle,dankempster/SonataAdminBundle,osavchenko/SonataAdminBundle,claudusd/SonataAdminBundle,digitalkaoz/SonataAdminBundle,dmarkowicz/SonataAdminBundle,ellementA/SonataAdminBundle,edouardkombo/SonataAdminBundle,rschumacher/SonataAdminBundle,ARTACK/SonataAdminBundle,Romashka/SonataAdminBundle,tskorupka/SonataAdminBundle,rmzamora/SonataAdminBundle,Koc/SonataAdminBundle,ruscon/SonataAdminBundle,morfin60/SonataAdminBundle,j-ledoux/SonataAdminBundle,binhle410/SonataAdminBundle,fosvn/SonataAdminBundle,claudusd/SonataAdminBundle,dmarkowicz/SonataAdminBundle,ryanhughes/SonataAdminBundle,jordisala1991/SonataAdminBundle,ossinkine/SonataAdminBundle,dankempster/SonataAdminBundle,peter-gribanov/SonataAdminBundle,digitalkaoz/SonataAdminBundle,binhle410/SonataAdminBundle,jszmidt/SonataAdminBundle,ksom/SonataAdminBundle,dmarkowicz/SonataAdminBundle,j-ledoux/SonataAdminBundle,greg0ire/SonataAdminBundle,nexylan/SonataAdminBundle,edouardkombo/SonataAdminBundle,amine2z/SonataAdminBundle,ejkun/SonataAdminBundle,ellementA/SonataAdminBundle,jlamur/SonataAdminBundle,ARTACK/SonataAdminBundle,jlamur/SonataAdminBundle,fosvn/SonataAdminBundle,jordisala1991/SonataAdminBundle,gnorby88/SonataAdminBundle,ejkun/SonataAdminBundle,gnorby88/SonataAdminBundle,ju1ius/SonataAdminBundle,morfin60/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,ryanhughes/SonataAdminBundle,news-life-media/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,joshlopes/SonataAdminBundle,news-life-media/SonataAdminBundle,tim96/SonataAdminBundle,lutangar/SonataAdminBundle,0mars/SonataAdminBundle,rmzamora/SonataAdminBundle,osavchenko/SonataAdminBundle,core23/SonataAdminBundle,jlamur/SonataAdminBundle,arbislimen/SonataAdminBundle,Th3Mouk/SonataAdminBundle,rmzamora/SonataAdminBundle,j-ledoux/SonataAdminBundle,cmacetko/SonataAdminBundle,ryanhughes/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,tunne/SonataAdminBundle,ruscon/SonataAdminBundle,greg0ire/SonataAdminBundle,ruscon/SonataAdminBundle,ejkun/SonataAdminBundle,andythorne/SonataAdminBundle,edouardkombo/SonataAdminBundle,tunne/SonataAdminBundle,peter-gribanov/SonataAdminBundle