8000 [Security][SecurityBundle] Add messages and score on votes by eltharin · Pull Request #58107 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security][SecurityBundle] Add messages and score on votes #58107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changes from review
  • Loading branch information
eltharin committed Feb 10, 2025
commit 2a903b302d3bcd64b591f2024769b046acb8e949
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;

/**
* Grants access if vote results greated than 0.
* Grants access if the sum of vote results is greater than 0.
*
* If all voters abstained from voting, the decision will be based on the
* allowIfAllAbstainDecisions property value (defaults to false).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Symfony\Component\Security\Core\Exception\InvalidArgumentException;

/**
* A Vote is returned by a Voter and contains the access (granted, abstain or denied).
* A Vote is returned by a Voter and contains the access result (granted, abstain or denied).
* It can also contain one or multiple messages explaining the vote decision.
*
* @author Dany Maillard <danymaillard93b@gmail.com>
Expand Down
0