Skip to content

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