File tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/SecurityBundle/DependencyInjection
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \SecurityBundle \DependencyInjection ;
13
13
14
14
use Symfony \Bundle \SecurityBundle \DependencyInjection \Security \Factory \AbstractFactory ;
15
-
15
+ use Symfony \ Component \ Security \ Core \ Authorization \ AccessDecisionManager ;
16
16
use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
17
17
use Symfony \Component \Config \Definition \Builder \ArrayNodeDefinition ;
18
18
use Symfony \Component \Config \Definition \ConfigurationInterface ;
@@ -65,7 +65,7 @@ public function getConfigTreeBuilder()
65
65
->arrayNode ('access_decision_manager ' )
66
66
->addDefaultsIfNotSet ()
67
67
->children ()
68
- ->scalarNode ('strategy ' )->defaultValue (' affirmative ' )->end ()
68
+ ->scalarNode ('strategy ' )->defaultValue (AccessDecisionManager:: STRATEGY_AFFIRMATIVE )->end ()
69
69
->booleanNode ('allow_if_all_abstain ' )->defaultFalse ()->end ()
70
70
->booleanNode ('allow_if_equal_granted_denied ' )->defaultTrue ()->end ()
71
71
->end ()
You can’t perform that action at this time.
0 commit comments