Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] remove support for defining voters that don't implement VoterInterface #8178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
javiereguiluz opened this issue Jul 16, 2017 · 2 comments
Labels
Milestone

Comments

@javiereguiluz
Copy link
Member

Support for defining voters that don't implement the VoterInterface has been removed.

See symfony/symfony#23324.

@javiereguiluz javiereguiluz added this to the 3.4 milestone Jul 16, 2017
@xabbuh xabbuh modified the milestones: 4.0, 3.4 Jul 17, 2017
@xabbuh
Copy link
Member

xabbuh commented Jul 17, 2017

This shouldn't affect the docs I guess. The referenced PR only removed code that was already deprecated and I think we already adapted the docs accordingly.

@javiereguiluz
Copy link
Member Author

You are right. I've just checked all the voter examples and they always implement Symfony\Component\Security\Core\Authorization\Voter\VoterInterface or extend from Symfony\Component\Security\Core\Authorization\Voter\Voter.

Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants