File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/SecurityBundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212namespace Symfony \Bundle \SecurityBundle \DependencyInjection ;
1313
1414use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \AbstractFactory ;
15-
15+ use Symfony \ Component \ Security \ Core \ Authorization \ AccessDecisionManager ;
1616use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
1717use Symfony \Component \Config \Definition \Builder \ArrayNodeDefinition ;
1818use Symfony \Component \Config \Definition \ConfigurationInterface ;
@@ -65,7 +65,7 @@ public function getConfigTreeBuilder()
6565 ->arrayNode ('access_decision_manager ' )
6666 ->addDefaultsIfNotSet ()
6767 ->children ()
68- ->scalarNode ('strategy ' )->defaultValue (' affirmative ' )->end ()
68+ ->scalarNode ('strategy ' )->defaultValue (AccessDecisionManager:: STRATEGY_AFFIRMATIVE )->end ()
6969 ->booleanNode ('allow_if_all_abstain ' )->defaultFalse ()->end ()
7070 ->booleanNode ('allow_if_equal_granted_denied ' )->defaultTrue ()->end ()
7171 ->end ()
You can’t perform that action at this time.
0 commit comments