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

[Security] Add missing use for RoleInterface #26286

Closed
wants to merge 1 commit into from
Closed

[Security] Add missing use for RoleInterface #26286

wants to merge 1 commit into from

Conversation

tony-tran
Copy link

@tony-tran tony-tran commented Feb 23, 2018

Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Just a missing use ...\RoleInterface in the UsernamePasswordToken since 3.3.

@tony-tran
Copy link
Author

tony-tran commented Feb 23, 2018

I don't know if necessary to create a new PR, but there is the same issue with symfony 4.0 but this time it is the Role class

@linaori
Copy link
Contributor

linaori commented Feb 23, 2018

This can probably be merged up until 3.4. For 4.0+, a second PR has to be created to change it into Role I believe 👍

@xabbuh xabbuh added this to the 3.4 milestone Feb 23, 2018
Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

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

👍 for 3.4

@xabbuh
Copy link
Member

xabbuh commented Feb 23, 2018

by the way, we merged a similar PR before for the PreAuthenticatedToken class

@tony-tran
Copy link
Author

I don't understand why CI was failed ? Anyone can explain to me please ?

@tony-tran tony-tran changed the title Add missing use for RoleInterface [Security] Add missing use for RoleInterface Feb 23, 2018
@Simperfit
Copy link
Contributor

Don't worry the CI failures seems not related to the current changes. It will be fixed.

@chalasr
Copy link
Member

chalasr commented Feb 23, 2018

Good catch, thanks for contributing to Symfony @tony-tran

chalasr added a commit that referenced this pull request Feb 23, 2018
This PR was submitted for the 3.3 branch but it was merged into the 3.4 branch instead (closes #26286).

Discussion
----------

[Security] Add missing use for RoleInterface

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Just a missing `use ...\RoleInterface` in the `UsernamePasswordToken` since 3.3.

Commits
-------

05359f3 Add missing use for RoleInterface
@chalasr chalasr closed this Feb 23, 2018
chalasr added a commit that referenced this pull request Feb 23, 2018
This PR was merged into the 4.0 branch.

Discussion
----------

[Security] Add missing use of Role

| Q             | A
| ------------- | ---
| Branch?       | 4.0 to master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Same as [here](#26286) but this time for 4.0

Commits
-------

3cfe7d0 Add missing use of Role
This was referenced Mar 1, 2018
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.

None yet

6 participants