File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ which has this structure:
3636
3737.. include :: /cookbook/security/voter_interface.rst.inc
3838
39- In this example, you 'll check if the user will have access to a specific
39+ In this example, it 'll check if the user will have access to a specific
4040object according to your custom conditions (e.g. he must be the owner of
4141the object). If the condition fails, you'll return
4242``VoterInterface::ACCESS_DENIED ``, otherwise you'll return
@@ -140,7 +140,7 @@ You could store your Voter to check permission for the view and edit action like
140140 }
141141
142142That's it! The voter is done. The next step is to inject the voter into
143- the security layer. This can be done easily through the service container.
143+ the security layer.
144144
145145Declaring the Voter as a Service
146146--------------------------------
You can’t perform that action at this time.
0 commit comments