Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[SecurityBundle] Added an alias from RoleHierarchyInterface to security.role_hierarchy #26639

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

Merged
merged 1 commit into from
Mar 23, 2018

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Mar 22, 2018

Q A
Branch? master
Bug fix? I don't know
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

It's needed for autowirering


Note: I'm not sure if this is a bug fix or a new feature.

@@ -96,6 +96,7 @@
<service id="security.role_hierarchy" class="Symfony\Component\Security\Core\Role\RoleHierarchy">
<argument>%security.role_hierarchy.roles%</argument>
</service>
<service id="Symfony\Component\Security\Core\Role\RoleHierarchy" alias="security.role_hierarchy" />
Copy link
Member

Choose a reason for hiding this comment

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

Should be RoleHierarchyInterface to me

Copy link
Member Author

Choose a reason for hiding this comment

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

Arf, I noticed that too, but it looks like I forgot to push. Thanks.

@lyrixx lyrixx force-pushed the RoleHierarchyInterface-alias branch from d7ba849 to 886b8a6 Compare March 22, 2018 16:50
@chalasr
Copy link
Member

chalasr commented Mar 23, 2018

Thank you @lyrixx.

@chalasr chalasr merged commit 886b8a6 into symfony:master Mar 23, 2018
chalasr pushed a commit that referenced this pull request Mar 23, 2018
…rface to security.role_hierarchy (lyrixx)

This PR was merged into the 4.1-dev branch.

Discussion
----------

[SecurityBundle] Added an alias from RoleHierarchyInterface to security.role_hierarchy

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | I don't know
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

It's needed for autowirering

---

Note: I'm not sure if this is a bug fix or a new feature.

Commits
-------

886b8a6 [SecurityBundle] Added an alias from RoleHierarchyInterface to security.role_hierarchy
@lyrixx lyrixx deleted the RoleHierarchyInterface-alias branch March 23, 2018 09:10
@buffcode
Copy link
Contributor

buffcode commented May 3, 2018

Will this be backported to 3.4?

@lyrixx
Copy link
Member Author

lyrixx commented May 3, 2018

@buffcode No, it's a new feature and all new features go to master.
Buy you can easily add this alias in your services.yml ;)

@buffcode
Copy link
Contributor

buffcode commented May 3, 2018

Thanks for clarification, yeah I know it is easy to add.
I'm just adding this to any 3.4 project as of now, so it's some kind of PITA ;)

@fabpot fabpot mentioned this pull request May 7, 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.

6 participants