Symfony2 Access Control with Routes

I want to restrict access to certain routes (not paths) in the access_control tag in security.yml , but I did not find anything in the cookbook or the book that shows me how to do this. Does anyone else know?

+4
source share
1 answer

You can do this in many ways. For example, using your own Defender>, which will check the agreed route

+2
source

Source: https://habr.com/ru/post/1491493/


All Articles