Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
javiereguiluz wants to merge6 commits intosymfony:2.7fromjaviereguiluz:pr/4257
Closed
Changes from1 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
PrevPrevious commit
NextNext commit
fix problems pointed out by@javiereguiluz and@cordoval
  • Loading branch information
@inoryy@javiereguiluz
inoryy authored andjaviereguiluz committedJun 22, 2015
commit79a220422afed8fa4b9d2142478f73a61cc967aa
4 changes: 2 additions & 2 deletionscookbook/security/abstract_voter.rst.inc
View file
Open in desktop
Original file line numberDiff line numberDiff 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
andenddeveloper 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 allowedaccess toa given attribute on a given object. This method must return a boolean.

[8]ページ先頭

©2009-2025 Movatter.jp