Closed
Description
Symfony version(s) affected: 5.2.*
Description
After I write my own AccessDecisionManager
and extend it from the security bundle's Symfony\Component\Security\Core\Authorization\AccessDecisionManager
, all voters logic were not working anymore. What I expect is to get $voters array as the first argument of __construct like the parent AccessDecisionManager
.
How to reproduce
Make your Own AccessDecisionManager
and add it to security.yaml :
access_decision_manager:
service: App\Security\AccessDecisionManager