Using Symfony2.3.4, PHP5.6.3 and Twig.
See, this is the template used by symfony everytime a user tries to access a url
and it does not pass the access control set in the security.yml
file.
All I want is to redirect the user to a template of my creation/choosing.
If I were restricting the user's access in a PHP
class, sure, I could ask for its role/permissions and decide from there but I want to use the access control I have already set in my security.yml
file, say like a global .html.twig
file to replace the one below.