8000 feature #26639 [SecurityBundle] Added an alias from RoleHierarchyInte… · symfony/symfony@7eae6af · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7eae6af

Browse files
author
Robin Chalas
committed
feature #26639 [SecurityBundle] Added an alias from RoleHierarchyInterface 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
2 parents 61da487 + 886b8a6 commit 7eae6af

File tree

1 file changed

+1
-0
lines changed
  • src/Symfony/Bundle/SecurityBundle/Resources/config

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
<service id="security.role_hierarchy" class="Symfony\Component\Security\Core\Role\RoleHierarchy">
9797
<argument>%security.role_hierarchy.roles%</argument>
9898
</service>
99+
<service id="Symfony\Component\Security\Core\Role\RoleHierarchyInterface" alias="security.role_hierarchy" />
99100

100101

101102
<!-- Security Voters -->

0 commit comments

Comments
 (0)
0