File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -282,11 +282,11 @@ with ``ROLE_SUPER_ADMIN``::
282282            // ... 
283283        } 
284284
285-          The ``Security::isGranted()`` method inside a voter has a significant 
286-          drawback: it does not guarantee that the checks are performed on the same 
287-          token as the one in your voter. The token in the token storage might have 
288-          changed or could change in the meantime. Always use the ``AccessDecisionManager`` 
289-          instead. 
285+     The ``Security::isGranted() `` method inside a voter has a significant
286+     drawback: it does not guarantee that the checks are performed on the same
287+     token as the one in your voter. The token in the token storage might have
288+     changed or could change in the meantime. Always use the ``AccessDecisionManager ``
289+     instead.
290290
291291If you're using the :ref: `default services.yaml configuration  <service-container-services-load-example >`,
292292you're done! Symfony will automatically pass the ``security.helper ``
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments