From e05dec7a15e6176bbecb0f55ef21e4ef0fb112c1 Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Mon, 28 Oct 2013 22:53:54 +0000 Subject: [PATCH 1/2] added missing crosslink from http://symfony.com/doc/current/components/security/authorization.html#access-decision-manager to http://symfony.com/doc/current/cookbook/security/voters.html#changing-the-access-decision-strategy --- components/security/authorization.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/security/authorization.rst b/components/security/authorization.rst index 7dc0433fd8e..ef1fd250df2 100644 --- a/components/security/authorization.rst +++ b/components/security/authorization.rst @@ -69,6 +69,10 @@ recognizes several strategies: $allowIfAllAbstainDecisions, $allowIfEqualGrantedDeniedDecisions ); + +.. note:: + + You can change the default strategy in the configuration: :ref:`book-security-voters-changing-the-access-decision-strategy` Voters ------ From 6f05d35341c242068281d5a38191ed0a1a8a949d Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Mon, 28 Oct 2013 23:00:17 +0000 Subject: [PATCH 2/2] added missing crosslink adding missing crosslink from http://symfony.com/doc/current/cookbook/security/voters.html#changing-the-access-decision-strategy to http://symfony.com/doc/current/components/security/authorization.html#access-decision-manager --- cookbook/security/voters.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbook/security/voters.rst b/cookbook/security/voters.rst index 1db4a93d264..f2692fcc309 100644 --- a/cookbook/security/voters.rst +++ b/cookbook/security/voters.rst @@ -212,3 +212,8 @@ application configuration file with the following code. That's it! Now, when deciding whether or not a user should have access, the new voter will deny access to any user in the list of blacklisted IPs. + +.. note:: + + For a more advanced usage see :ref:`components-security-authorization-access-decision-manager` +