8000 Clarify unanimous access strategy description · symfony/symfony-docs@94d6f30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 94d6f30

Browse files
Steveb-pjaviereguiluz
authored andcommitted
Clarify unanimous access strategy description
1 parent fa65333 commit 94d6f30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security/voters.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ strategies available:
251251
This grants access if there are more voters granting access than denying;
252252

253253
``unanimous``
254-
This only grants access once *all* voters grant access.
254+
This only grants access if there is no voter denying access.
255+
``allow_if_all_abstain`` configuration option can be used if voter granting
256+
access is also required.
255257

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

0 commit comments

Comments
 (0)
0