Skip to content

Commit c50146d

Browse files
Joe Bennettweaverryan
Joe Bennett
authored andcommitted
Voters should refer to authorization, not authentication.
Voters have nothing to do with authentication, only authorization. I have updated the terminology as such. I was caught by this when trying to build custom authentication due to the terminology of this page.
1 parent 54df2e0 commit c50146d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/security/voters.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
How to implement your own Voter to blacklist IP Addresses
55
=========================================================
66

7-
The Symfony2 security component provides several layers to authenticate users.
7+
The Symfony2 security component provides several layers to authorize users.
88
One of the layers is called a `voter`. A voter is a dedicated class that checks
99
if the user has the rights to be connected to the application. For instance,
10-
Symfony2 provides a layer that checks if the user is fully authenticated or if
10+
Symfony2 provides a layer that checks if the user is fully authorized or if
1111
it has some expected roles.
1212

1313
It is sometimes useful to create a custom voter to handle a specific case not

0 commit comments

Comments
 (0)