Skip to content

Commit 0c9c0f9

Browse files
committed
Remove the old voter article
1 parent 9c169c7 commit 0c9c0f9

File tree

8 files changed

+248
-407
lines changed

8 files changed

+248
-407
lines changed

book/security.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,10 @@ other users. Also, as the admin user, you yourself want to be able to edit
929929

930930
To accomplish this you have 2 options:
931931

932-
* :doc:`Voters </cookbook/security/voters_data_permission>` allow you to
933-
use business logic (e.g. the user can edit this post because they were
934-
the creator) to determine access. You'll probably want this option - it's
935-
flexible enough to solve the above situation.
932+
* :doc:`Voters </cookbook/security/voters` allow you to use business logic
933+
(e.g. the user can edit this post because they were the creator) to determine
934+
access. You'll probably want this option - it's flexible enough to solve the
935+
above situation.
936936

937937
* :doc:`ACLs </cookbook/security/acl>` allow you to create a database structure
938938
where you can assign *any* arbitrary user *any* access (e.g. EDIT, VIEW)
@@ -1281,7 +1281,7 @@ Learn More from the Cookbook
12811281

12821282
* :doc:`Forcing HTTP/HTTPS </cookbook/security/force_https>`
12831283
* :doc:`Impersonating a User </cookbook/security/impersonating_user>`
1284-
* :doc:`/cookbook/security/voters_data_permission`
1284+
* :doc:`/cookbook/security/voters`
12851285
* :doc:`Access Control Lists (ACLs) </cookbook/security/acl>`
12861286
* :doc:`/cookbook/security/remember_me`
12871287
* :doc:`/cookbook/security/multiple_user_providers`

cookbook/map.rst.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@
151151
* :doc:`/cookbook/security/remember_me`
152152
* :doc:`/cookbook/security/impersonating_user`
153153
* :doc:`/cookbook/security/voters`
154-
* :doc:`/cookbook/security/voters_data_permission`
155154
* :doc:`/cookbook/security/acl`
156155
* :doc:`/cookbook/security/acl_advanced`
157156
* :doc:`/cookbook/security/force_https`

cookbook/security/acl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ the ACL system comes in.
1414
Using ACL's isn't trivial, and for simpler use cases, it may be overkill.
1515
If your permission logic could be described by just writing some code (e.g.
1616
to check if a Blog is owned by the current User), then consider using
17-
:doc:`voters </cookbook/security/voters_data_permission>`. A voter is passed the object
17+
:doc:`voters </cookbook/security/voters`. A voter is passed the object
1818
being voted on, which you can use to make complex decisions and effectively
1919
implement your own ACL. Enforcing authorization (e.g. the ``isGranted``
2020
part) will look similar to what you see in this entry, but your voter

cookbook/security/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Security
99
remember_me
1010
impersonating_user
1111
voters
12-
voters_data_permission
1312
acl
1413
acl_advanced
1514
force_https

cookbook/security/voter_interface.rst.inc

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)