Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221bbb1 commit fdfd1adCopy full SHA for fdfd1ad
security/voters.rst
@@ -35,7 +35,7 @@ For more information take a look at
35
36
The example used throughout this page features just two routes (``post_show`` and ``post_edit``).
37
However, the advantage of voters is that you can reuse them in *many* places and centralize
38
- all permission logic. If you don't reuse permissions and the rules are simple, you instead
+ all permission logic. If you don't reuse permissions or the rules are basic, you instead
39
might want to do the check in the controller directly and throw an ``AccessDeniedException``
40
to create the correct response::
41
0 commit comments