Skip to content

Commit

Permalink
feature #26639 [SecurityBundle] Added an alias from RoleHierarchyInte…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Robin Chalas committed Mar 23, 2018
2 parents 61da487 + 886b8a6 commit 7eae6af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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\RoleHierarchyInterface" alias="security.role_hierarchy" />


<!-- Security Voters -->
Expand Down

0 comments on commit 7eae6af

Please sign in to comment.