8000 [Security] add & update doc entries on AbstractVoter implementation by javiereguiluz · Pull Request #5423 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Security] add & update doc entries on AbstractVoter implementation #5423

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 6 commits into from
Closed
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
fix problems pointed out by @javiereguiluz and @cordoval
  • Loading branch information
inoryy authored and javiereguiluz committed Jun 22, 2015
commit 79a220422afed8fa4b9d2142478f73a61cc967aa
4 changes: 2 additions & 2 deletions cookbook/security/abstract_voter.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ which has this structure:
.. include:: /cookbook/security/voter_interface.rst.inc

The basic functionality covering common use cases is provided
and end developer is expected to implement the abstract methods.
and developer is expected to implement the abstract methods.

The :method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AbstractVoter::getSupportedClasses`
method is used to provide an array of supported classes, i.e. ['\Acme\DemoBundle\Model\Product']
Expand All @@ -28,4 +28,4 @@ method is used to provide an array of supported attributes, i.e. ['CREATE', 'REA

The :method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AbstractVoter::isGranted`
method must implement the business logic that verifies whether or not a given
user is allowed a given attribute on a given object. This method must return a boolean.
user is allowed access to a given attribute on a given object. This method must return a boolean.
0