parent
7c9de7d0ff
commit
27ecae2545
|
@ -194,7 +194,7 @@ AccessDecisionVoter hierarchyVoter() {
|
||||||
hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" +
|
hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" +
|
||||||
"ROLE_STAFF > ROLE_USER\n" +
|
"ROLE_STAFF > ROLE_USER\n" +
|
||||||
"ROLE_USER > ROLE_GUEST");
|
"ROLE_USER > ROLE_GUEST");
|
||||||
return new RoleHierarcyVoter(hierarchy);
|
return new RoleHierarchyVoter(hierarchy);
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue