-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Securitygood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
See symfony/symfony#14733. The security.access.decision_manager
can now be injected into voters, so we can document in the cookbook about custom voters how you could, for example, call isGranted('ROLE_ADMIN')
from inside a custom voter without needing to do something like inject the container.
Metadata
Metadata
Assignees
Labels
Securitygood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.