Skip to content
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

v2.7 Voter is using v3.0 directions #6486

Closed
totaltrash opened this issue Apr 19, 2016 · 1 comment
Closed

v2.7 Voter is using v3.0 directions #6486

totaltrash opened this issue Apr 19, 2016 · 1 comment
Labels

Comments

@totaltrash
Copy link

There were a lot of changes to the voter between 2.7 and 3.0, and i think the 3.0 directions have leaked into the 2.7 branch documentation.

For example, the Voter interface changed, there is no Voter abstract class in 2.7 (https://github.com/symfony/symfony-docs/blob/2.7/cookbook/security/voters.rst#the-voter-interface), AbstractVoter should be used as per 2.6 (https://github.com/symfony/symfony-docs/blob/2.6/cookbook/security/voters.rst#the-voter-interface).

I think the 2.7 voter documentation needs to be replaced with the 2.6 doc?

@xabbuh xabbuh added bug actionable Clear and specific issues ready for anyone to take them. Security labels Apr 19, 2016
@wouterj wouterj removed actionable Clear and specific issues ready for anyone to take them. Security labels Apr 19, 2016
@wouterj
Copy link
Member

wouterj commented Apr 19, 2016

Thanks for the bug report @totaltrash! I did something wrong yesterday while merging PRs (resulting in having the 3.0 docs available under the 2.7 docs). I've now fixed this with #6490

@wouterj wouterj closed this as completed Apr 19, 2016
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

3 participants