mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-29 16:22:12 +00:00
Fix typo in role hierarchy docs
Closes gh-10804
This commit is contained in:
parent
7c9de7d0ff
commit
27ecae2545
@ -194,7 +194,7 @@ AccessDecisionVoter hierarchyVoter() {
|
||||
hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" +
|
||||
"ROLE_STAFF > ROLE_USER\n" +
|
||||
"ROLE_USER > ROLE_GUEST");
|
||||
return new RoleHierarcyVoter(hierarchy);
|
||||
return new RoleHierarchyVoter(hierarchy);
|
||||
}
|
||||
----
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user