mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
Add missing method call in authorization docs
This commit is contained in:
parent
92be497d24
commit
7b67476153
@ -256,7 +256,8 @@ static RoleHierarchy roleHierarchy() {
|
||||
return RoleHierarchyImpl.withDefaultRolePrefix()
|
||||
.role("ADMIN").implies("STAFF")
|
||||
.role("STAFF").implies("USER")
|
||||
.role("USER").implies("GUEST");
|
||||
.role("USER").implies("GUEST")
|
||||
.build();
|
||||
}
|
||||
|
||||
// and, if using method security also add
|
||||
|
Loading…
x
Reference in New Issue
Block a user