From 9f209b3973384f9bae1245675871f381f19e1d2b Mon Sep 17 00:00:00 2001 From: asandjivy Date: Sun, 21 Aug 2016 12:02:53 +0200 Subject: [PATCH 1/2] Update voters.rst --- security/voters.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/voters.rst b/security/voters.rst index e1e29822f94..004ec856469 100644 --- a/security/voters.rst +++ b/security/voters.rst @@ -96,8 +96,8 @@ decides this using whatever logic you want. .. tip:: - The ``denyAccessUnlessGranted()`` function and the ``isGranted()`` functions - are both just shortcuts to call ``isGranted()`` on the ``security.authorization_checker`` + The ``denyAccessUnlessGranted()`` function and the ``isGranted()`` function + are both just shortcuts of the Controller to call ``isGranted()`` on the ``security.authorization_checker`` service. Creating the custom Voter From 9a2f1bd63bf6717821d4755f18a2265fbd7a362d Mon Sep 17 00:00:00 2001 From: asandjivy Date: Wed, 31 Aug 2016 16:22:13 +0200 Subject: [PATCH 2/2] Update voters.rst --- security/voters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/voters.rst b/security/voters.rst index 004ec856469..17727b21e68 100644 --- a/security/voters.rst +++ b/security/voters.rst @@ -96,7 +96,7 @@ decides this using whatever logic you want. .. tip:: - The ``denyAccessUnlessGranted()`` function and the ``isGranted()`` function + The ``denyAccessUnlessGranted()`` and ``isGranted()`` functions are both just shortcuts of the Controller to call ``isGranted()`` on the ``security.authorization_checker`` service.