mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 23:02:15 +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()
|
return RoleHierarchyImpl.withDefaultRolePrefix()
|
||||||
.role("ADMIN").implies("STAFF")
|
.role("ADMIN").implies("STAFF")
|
||||||
.role("STAFF").implies("USER")
|
.role("STAFF").implies("USER")
|
||||||
.role("USER").implies("GUEST");
|
.role("USER").implies("GUEST")
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
// and, if using method security also add
|
// and, if using method security also add
|
||||||
|
Loading…
x
Reference in New Issue
Block a user