Closed
Description
http://symfony.com/doc/master/cookbook/security/voters.html#checking-for-roles-inside-a-voter
This works with current release (3.0.4), but not with current master.
I get this error:
[Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException]
Circular reference detected for service "debug.security.access.decision_manager", path: "debug.security.access.decision_manager".
Reproducible by this branch of symfony-standard:
https://github.com/gharlan/symfony-standard/tree/voter-with-decision-manager
You can see the error in composer install
(ScriptHandler::clearCache).