Skip to content

[Security] Add a note about Access Decision Strategy with access_control #12827

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

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

nesk
Copy link
Contributor

@nesk nesk commented Dec 17, 2019

It took me so much time to understand why my access_control wasn't working properly, this was due to my Access Decision Strategy being affirmative instead of unanimous.

Explain how the Access Decision Strategy can impact the way access_control works.
@javiereguiluz javiereguiluz added this to the 3.4 milestone Jan 2, 2020
javiereguiluz added a commit that referenced this pull request Jan 2, 2020
…h access_control (nesk)

This PR was merged into the 3.4 branch.

Discussion
----------

[Security] Add a note about Access Decision Strategy with access_control

It took me so much time to understand why my `access_control` wasn't working properly, this was due to my Access Decision Strategy being `affirmative` instead of `unanimous`.

Commits
-------

ea7a857 Add a note about voters with access_control
@javiereguiluz javiereguiluz merged commit ea7a857 into symfony:3.4 Jan 2, 2020
@javiereguiluz
Copy link
Member

@nesk nice addition which will help others avoid this issue you faced. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants