Symfony2 access control with routes

后端 未结 1 1566
天涯浪人
天涯浪人 2021-01-19 05:05

I want to limit access to certain routes (not paths) in the access_control tag in security.yml, but I found nothing in the cookbook or book that sh

相关标签:
1条回答
  • 2021-01-19 05:34

    You can do it in many ways. For example by implementing own Security voter that will check matched route

    0 讨论(0)
提交回复
热议问题