Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Closed
Labels
Milestone
Description
Seesymfony/symfony#14733. Thesecurity.access.decision_manager
can now be injected into voters, so we can document in the cookbook about custom voters how you could, for example, callisGranted('ROLE_ADMIN')
from inside a custom voter without needing to do something like inject the container.