Skip to content
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

Additional User check in voter class #5317

Closed
wants to merge 1 commit into from
Closed

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets #5279

@@ -62,6 +62,7 @@ edit a particular object. Here's an example implementation::
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use AppBundle\Entity\User;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move this at the beginning of the use statements.

@wouterj
Copy link
Member

wouterj commented Jul 29, 2015

Closing in favor of #5580

@wouterj wouterj closed this Jul 29, 2015
@wouterj wouterj deleted the voter-user-class branch July 29, 2015 15:06
wouterj added a commit that referenced this pull request Jul 29, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Additional User check in voter class

Finishes #5317

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | #5279

Commits
-------

9ad9daf Additional little check to show how we're assumign the User object is the User entity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants