Skip to content

Commit 292d7c0

Browse files
Michael Kleinweaverryan
authored andcommitted
1 parent 640dc2b commit 292d7c0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

components/security/authorization.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ An authorization decision will always be based on a few things:
2929
Any object on which for which access control needs to be checked, like
3030
an article or a comment object.
3131

32+
.. components-security-access-decision-manager:
33+
3234
Access Decision Manager
3335
-----------------------
3436

@@ -69,6 +71,11 @@ recognizes several strategies:
6971
$allowIfAllAbstainDecisions,
7072
$allowIfEqualGrantedDeniedDecisions
7173
);
74+
75+
.. seealso::
76+
77+
You can change the default strategy in the
78+
:ref:`configuration <security-voters-change-strategy>`.
7279

7380
Voters
7481
------

cookbook/security/voters.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ and tag it as a "security.voter":
167167
see :ref:`service-container-imports-directive`. To read more about defining
168168
services in general, see the :doc:`/book/service_container` chapter.
169169

170+
.. security-voters-change-strategy:
171+
170172
Changing the Access Decision Strategy
171173
-------------------------------------
172174

@@ -212,3 +214,8 @@ application configuration file with the following code.
212214
213215
That's it! Now, when deciding whether or not a user should have access,
214216
the new voter will deny access to any user in the list of blacklisted IPs.
217+
218+
.. seealso::
219+
220+
For a more advanced usage see
221+
:ref:`components-security-access-decision-manager`.

0 commit comments

Comments
 (0)