8000 [Security] use the authorization checker in has_role() by xabbuh · Pull Request #29206 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security] use the authorization checker in has_role() #29206

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 1 commit into from

Conversation

xabbuh
Copy link
Member
@xabbuh xabbuh commented Nov 13, 2018
Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #21861
License MIT
Doc PR

/**
* @param AuthorizationCheckerInterface $authChecker
*/
public function __construct(ExpressionLanguage $expressionLanguage, AuthenticationTrustResolverInterface $trustResolver, $authChecker = null, RoleHierarchyInterface $roleHierarchy = null)
Copy link
Member

Choose a reason for hiding this comment

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

in case one is wondering, the updated signature is compatible with Symfony 4.1, where has_role() has been deprecated

@xabbuh
Copy link
Member Author
xabbuh commented Nov 14, 2018

closing as explained in the issue

@xabbuh xabbuh closed this Nov 14, 2018
@xabbuh xabbuh deleted the issue-21861 branch November 14, 2018 14:42
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
0