Skip to content

Commit 81b854c

Browse files
committed
Added versionadded
1 parent 52918a9 commit 81b854c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

components/security/authorization.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
5559
Usage of the available options in detail::
5660

5761
use Symfony\Component\Security\Core\Authorization\AccessDecisionManager;

security/voters.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
283287
In the above scenario, both voters should grant access in order to grant access
284288
to the user to read the post. In this case, the default strategy is no longer
285289
valid and ``unanimous`` should be used instead. You can set this in the

0 commit comments

Comments
 (0)