Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4439c10

Browse filesBrowse files
committed
fix(security): allow multiple Security attributes when applicable
1 parent e532750 commit 4439c10
Copy full SHA for 4439c10

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Authorization/TraceableAccessDecisionManager.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function decide(TokenInterface $token, array $attributes, mixed $object =
5454
$this->accessDecisionStack[] = $accessDecision;
5555

5656
try {
57-
return $accessDecision->isGranted = $this->manager->decide($token, $attributes, $object, $accessDecision);
57+
return $accessDecision->isGranted = $this->manager->decide($token, $attributes, $object, $accessDecision, $allowMultipleAttributes);
5858
} finally {
5959
$this->strategy = $accessDecision->strategy;
6060
$currentLog = array_pop($this->currentLog);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.