File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ An authorization decision will always be based on a few things:
29
29
Any object on which for which access control needs to be checked, like
30
30
an article or a comment object.
31
31
32
+ .. components-security-access-decision-manager:
33
+
32
34
Access Decision Manager
33
35
-----------------------
34
36
@@ -69,6 +71,11 @@ recognizes several strategies:
69
71
$allowIfAllAbstainDecisions,
70
72
$allowIfEqualGrantedDeniedDecisions
71
73
);
74
+
75
+ .. seealso ::
76
+
77
+ You can change the default strategy in the
78
+ :ref: `configuration <security-voters-change-strategy >`.
72
79
73
80
Voters
74
81
------
Original file line number Diff line number Diff line change @@ -167,6 +167,8 @@ and tag it as a "security.voter":
167
167
see :ref: `service-container-imports-directive `. To read more about defining
168
168
services in general, see the :doc: `/book/service_container ` chapter.
169
169
170
+ .. security-voters-change-strategy:
171
+
170
172
Changing the Access Decision Strategy
171
173
-------------------------------------
172
174
@@ -212,3 +214,8 @@ application configuration file with the following code.
212
214
213
215
That's it! Now, when deciding whether or not a user should have access,
214
216
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 `.
You can’t perform that action at this time.
0 commit comments