File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ The ``vote()`` method must implement the business logic that verifies whether
40
40
or not the user is granted access. This method must return one of the following
41
41
values:
42
42
43
- * ``VoterInterface::ACCESS_GRANTED ``: The user is allowed to access the application
43
+ * ``VoterInterface::ACCESS_GRANTED ``: The user is allowed to access something
44
44
* ``VoterInterface::ACCESS_ABSTAIN ``: The voter cannot decide if the user is granted or not
45
- * ``VoterInterface::ACCESS_DENIED ``: The user is not allowed to access the application
45
+ * ``VoterInterface::ACCESS_DENIED ``: The user is not allowed to access something
46
46
47
47
In this example, you'll check if the user's IP address matches against a list of
48
- blacklisted addresses. If the user's IP is blacklisted, you'll return
48
+ blacklisted addresses and "something" will be the application . If the user's IP is blacklisted, you'll return
49
49
``VoterInterface::ACCESS_DENIED ``, otherwise you'll return
50
50
``VoterInterface::ACCESS_ABSTAIN `` as this voter's purpose is only to deny
51
51
access, not to grant access.
You can’t perform that action at this time.
0 commit comments