Skip to content

Commit 76b3342

Browse files
authored
Merge pull request #292 from acrobat/fix-unanimous-strategy-default-value
Previously we set the value of allowIfAllAbstainDecisions to true, this was not ported to the UnanimousStrategy service
2 parents c519ea4 + c99ba3c commit 76b3342

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Resources/config/publish-workflow.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
<services>
88

9-
<service id="cmf_core.publish_workflow.access_decision_manager.strategy" class="Symfony\Component\Security\Core\Authorization\Strategy\UnanimousStrategy"/>
9+
<service id="cmf_core.publish_workflow.access_decision_manager.strategy" class="Symfony\Component\Security\Core\Authorization\Strategy\UnanimousStrategy">
10+
<argument>true</argument>
11+
</service>
12+
1013
<service id="cmf_core.publish_workflow.access_decision_manager" class="Symfony\Component\Security\Core\Authorization\AccessDecisionManager">
1114
<argument type="collection"/>
1215
<argument type="service" id="cmf_core.publish_workflow.access_decision_manager.strategy"/>

0 commit comments

Comments
 (0)