Skip to content

[Security] Fix defining multiple roles per access_control rule #34304

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
Nov 9, 2019

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Nov 9, 2019

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR symfony/symfony-docs#12371 needs to be reverted

#33584 deprecated passing multiple attributes to AccessDecisionManager::decide(), but this change must not impact access_control as you cannot define multiple rules with the same criteria for request matching (the first match wins).

@fabpot
Copy link
Member

fabpot commented Nov 9, 2019

Thank you @chalasr.

fabpot added a commit that referenced this pull request Nov 9, 2019
…rule (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[Security] Fix defining multiple roles per access_control rule

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        |  symfony/symfony-docs#12371 needs to be reverted

#33584 deprecated passing multiple attributes to `AccessDecisionManager::decide()`, but this change must not impact `access_control` as you cannot define multiple rules with the same criteria for request matching (the first match wins).

Commits
-------

338b3df [Security] Fix defining multiple roles per access_control rule
@fabpot fabpot merged commit 338b3df into symfony:4.4 Nov 9, 2019
@chalasr chalasr deleted the access_control_multi-attr branch November 9, 2019 12:09
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.

4 participants