File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ recognizes several strategies:
52
52
``priority ``
53
53
grants or denies access by the first voter that does not abstain;
54
54
55
+ .. versionadded :: 5.1
56
+ The priority version strategy was introduced in Symfony 5.1.
57
+
58
+
55
59
Usage of the available options in detail::
56
60
57
61
use Symfony\Component\Security\Core\Authorization\AccessDecisionManager;
Original file line number Diff line number Diff line change @@ -280,6 +280,10 @@ strategies available:
280
280
This grants or denies access by the first voter that does not abstain,
281
281
based on their service priority;
282
282
283
+ .. versionadded :: 5.1
284
+ The priority version strategy was introduced in Symfony 5.1.
285
+
286
+
283
287
In the above scenario, both voters should grant access in order to grant access
284
288
to the user to read the post. In this case, the default strategy is no longer
285
289
valid and ``unanimous `` should be used instead. You can set this in the
You can’t perform that action at this time.
0 commit comments