-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
Conversation
@@ -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" /> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
…ty.role_hierarchy
d7ba849
to
886b8a6
Compare
Thank you @lyrixx. |
…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
Will this be backported to 3.4? |
@buffcode No, it's a new feature and all new features go to master. |
Thanks for clarification, yeah I know it is easy to add. |
It's needed for autowirering
Note: I'm not sure if this is a bug fix or a new feature.