8000 minor. refs #12956 · symfony/symfony-docs@6113a66 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6113a66

Browse files
committed
minor. refs #12956
1 parent 2754e72 commit 6113a66

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

components/security/authorization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ recognizes several strategies:
5454

5555
.. versionadded:: 5.1
5656

57-
The priority version strategy was introduced in Symfony 5.1.
57+
The ``priority`` version strategy was introduced in Symfony 5.1.
5858

5959
Usage of the available options in detail::
6060

security/voters.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ checks if the user is a member of the site and a second one that checks if the u
262262
is older than 18.
263263

264264
To handle these cases, the access decision manager uses an access decision
265-
strategy. You can configure this to suit your needs. There are four
266-
strategies available:
265+
strategy. You can configure this to suit your needs. The following strategies
266+
are available:
267267

268268
``affirmative`` (default)
269269
This grants access as soon as there is *one* voter granting access;
@@ -282,8 +282,7 @@ strategies available:
282282

283283
.. versionadded:: 5.1
284284

285-
The priority version strategy was introduced in Symfony 5.1.
286-
285+
The ``priority`` version strategy was introduced in Symfony 5.1.
287286

288287
In the above scenario, both voters should grant access in order to grant access
289288
to the user to read the post. In this case, the default strategy is no longer

0 commit comments

Comments
 (0)
0