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 95c60c8

Browse filesBrowse files
committed
bug #19272 [Security] fixed DebugAccessDecisionManager::setVoters() (HeahDude)
This PR was merged into the 3.1 branch. Discussion ---------- [Security] fixed DebugAccessDecisionManager::setVoters() | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | schmittjoh/JMSSecurityExtraBundle#207 | License | MIT | Doc PR | ~ Commits ------- c1a2a0a [Security] fixed DebugAccessDecisionManager::setVoters()
2 parents 3726aa1 + c1a2a0a commit 95c60c8
Copy full SHA for 95c60c8

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Authorization/DebugAccessDecisionManager.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
6262
*/
6363
public function setVoters(array $voters)
6464
{
65-
if (!$this->manager instanceof AccessDecisionManager) {
65+
if (!method_exists($this->manager, 'setVoters')) {
6666
return;
6767
}
6868

0 commit comments

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