security-acl icon indicating copy to clipboard operation
security-acl copied to clipboard

Replace\disable default AclVoter

Open davidedonattini opened this issue 9 years ago • 1 comments

Is possible to replace the default AclVoter (Symfony\Component\Security\Acl\Voter\AclVoter)?

Otherwise is possible to disable default AclVoter?

Thanks

davidedonattini avatar Sep 30 '16 12:09 davidedonattini

It's a bit a trick, but you can disable AclVoter by removing security.voter tag from service definition. I created gist with some code: https://gist.github.com/Invis1ble/a45331c49805819f3266fb06ec22bee9

Invis1ble avatar Nov 23 '17 07:11 Invis1ble