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:
5252``priority ``
5353 grants or denies access by the first voter that does not abstain;
5454
55+ .. versionadded :: 5.1
56+ The priority version strategy was introduced in Symfony 5.1.
57+
58+
5559Usage of the available options in detail::
5660
5761 use Symfony\Component\Security\Core\Authorization\AccessDecisionManager;
Original file line number Diff line number Diff line change @@ -280,6 +280,10 @@ strategies available:
280280 This grants or denies access by the first voter that does not abstain,
281281 based on their service priority;
282282
283+ .. versionadded :: 5.1
284+ The priority version strategy was introduced in Symfony 5.1.
285+
286+
283287In the above scenario, both voters should grant access in order to grant access
284288to the user to read the post. In this case, the default strategy is no longer
285289valid and ``unanimous `` should be used instead. You can set this in the
You can’t perform that action at this time.
0 commit comments