File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 42
42
use Symfony \Component \Security \Core \Validator \Constraints \UserPasswordValidator ;
43
43
use Symfony \Component \Security \Http \Authentication \AuthenticationUtils ;
44
44
use Symfony \Component \Security \Http \Controller \UserValueResolver ;
45
+ use Symfony \Component \Security \Http \EventListener \IsGrantedAttributeListener ;
45
46
use Symfony \Component \Security \Http \Firewall ;
46
47
use Symfony \Component \Security \Http \FirewallMapInterface ;
47
48
use Symfony \Component \Security \Http \HttpUtils ;
269
270
service ('security.expression_language ' ),
270
271
])
271
272
->tag ('kernel.cache_warmer ' )
273
+
274
+ ->set ('controller.is_granted_attribute_listener ' , IsGrantedAttributeListener::class)
275
+ ->args ([service ('security.authorization_checker ' )])
276
+ ->tag ('kernel.event_subscriber ' )
272
277
;
273
278
};
Original file line number Diff line number Diff line change 19
19
"php" : " >=8.1" ,
20
20
"composer-runtime-api" : " >=2.1" ,
21
21
"ext-xml" : " *" ,
22
- "symfony/config" : " ^5.4|^6.0 " ,
23
- "symfony/dependency-injection" : " ^5.4|^6.0 " ,
22
+ "symfony/config" : " ^6.1 " ,
23
+ "symfony/dependency-injection" : " ^6.1 " ,
24
24
"symfony/event-dispatcher" : " ^5.4|^6.0" ,
25
- "symfony/http-kernel" : " ^5.4|^6.0 " ,
25
+ "symfony/http-kernel" : " ^6.2 " ,
26
26
"symfony/http-foundation" : " ^5.4|^6.0" ,
27
27
"symfony/password-hasher" : " ^5.4|^6.0" ,
28
28
"symfony/security-core" : " ^5.4|^6.0" ,
You can’t perform that action at this time.
0 commit comments