Reputation: 186
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 shows me how to.
Does anyone else know?
Upvotes: 4
Views: 2883
Reputation: 4860
You can do it in many ways. For example by implementing own Security voter that will check matched route
Upvotes: 2