File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -269,11 +269,11 @@ with ``ROLE_SUPER_ADMIN``::
269
269
// ...
270
270
}
271
271
272
- The ``Security::isGranted()`` method inside a voter has a significant
273
- drawback: it does not guarantee that the checks are performed on the same
274
- token as the one in your voter. The token in the token storage might have
275
- changed or could change in the meantime. Always use the ``AccessDecisionManager``
276
- instead.
272
+ The ``Security::isGranted() `` method inside a voter has a significant
273
+ drawback: it does not guarantee that the checks are performed on the same
274
+ token as the one in your voter. The token in the token storage might have
275
+ changed or could change in the meantime. Always use the ``AccessDecisionManager ``
276
+ instead.
277
277
278
278
If you're using the :ref: `default services.yaml configuration <service-container-services-load-example >`,
279
279
you're done! Symfony will automatically pass the ``security.helper ``
You can’t perform that action at this time.
0 commit comments